x86: only enable interrupts when kernel state has been set up