Add checking of report mode during error handling of I2C access in HID
over I2C.