x86: fix reboot with no keyboard attached