Input: fix typo in keycode validation supporting large scancodes