Make epoll/kqueue close-on-exec.

Make the epoll/kqueue fds close-on-exec. Minimum Linux kernel version 2.6.27.

Since the epoll/kqueue fds are only used inside private poller data structures which will be destroyed anyway upon exec() this should be a compatible change.