Update bootloader.c

1.change the order of "unlock flash": move it after receive BOOT_HEAD