boot: Enter infinite loop after kernel_main returns