firmware/bootloader: properly flush UART (bootldr doesn't use IRQ because it throws off IAP functions)