[PATCH AUTOSEL 4.19 04/11] Input: add bounds checking to input_set_capability()