[PATCH 4.14 045/164] HID: i2c-hid: fix size check and type usage