[PATCH 4.19 03/44] Input: add bounds checking to input_set_capability()