char: introduce a blocking version of qemu_chr_fe_write