[PATCH 4.9 26/44] Input: uinput - fix undefined behavior in uinput_validate_absinfo()