move compat handling of tty ioctls to tty_compat_ioctl()