lp: move compat_ioctl handling into lp.c