[PATCH 4.9 24/95] HID: i2c-hid: fix size check and type usage