fix compiler warning in reboot_to_bootloader()