[PATCH v3 05/25] menu: Update bootmenu_autoboot_loop() to return the code