hw: replace most use of qemu_chr_fe_write with qemu_chr_fe_write_all