[PATCH 4.9 48/88] media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic