net, compat_ioctl: handle more ioctls correctly