[PATCH 4.4 10/28] Input: add safety guards to input_set_keycode()