Add syscall wrapper for setns(2)

On some platforms like Debian Wheezy on the Raspberry Pi, the syscall
for setns is defined but the setns library function is not. Add a test
for setns and conditionally compile in the syscall wrapper.

Patch and test taken from iproute:

http://patchwork.ozlabs.org/patch/104923/