ion: ioctl compatibility with userland using old api