[PATCH 5.11 322/775] HID: core: detect and skip invalid inputs to snto32()