HID: simplify error handling in hid_input_report()