qemu-char: add logfile facility to all chardev backends