Add kqueue syscalls.

    Currently untested.