[PATCH openEuler-1.0-LTS] HID: core: Sanitize event code and type when mapping input