Revert "[libc] implement ioctl" (#88226)

Reverts llvm/llvm-project#85890

This fails in full build mode:

https://lab.llvm.org/buildbot/#/builders/163/builds/54478/steps/4/logs/stdio

GitOrigin-RevId: 3c2feab7d152b7f161b4adaecef4ec81f038a23e
12 files changed