[PATCH 5.10 274/663] HID: core: detect and skip invalid inputs to snto32()