darwin: support file descriptors > 1024 in select