select: Implement EBADF and EFAULT hacks.
select: Implement EBADF and EFAULT hacks.

These errors are frequently returned by OS/2 select in an unexpected way (from POSIX POV) and confuse POSIX programs. This commit attempts to nicely work around these breaks.

Closes #85.

bitwiseworks/libcx,bitwiseworks/libcx