HID: fix a crash in hid_report_raw_event() function.