Allow compat_ioctl.c to compile without CONFIG_NET