ioctl: Move autoconf macro to a .m4 file.