[PATCH 3.18 18/52] HID: i2c-hid: fix size check and type usage