[PATCH 4.14 36/68] Input: uinput - fix undefined behavior in uinput_validate_absinfo()