gpio: handle compatible ioctl() pointers