Update sysdeps/mach/hurd/ioctl.c to make it more portable