gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset