Add guard for SOCK_CLOEXEC.

At least, Debian GNU/kFreeBSD 6.0.7 (squeeze) and
Debian GNU/Hurd 7.0 (wheezy) has accept4 but
doesn't have SOCK_CLOEXEC.
Merge branch 'getifaddrs' of github.com:akr/ruby into getifaddrs