fix ioctl _IOR, _IOW, etc macros to avoid signed overflow (2<<30)