qemu-char: use a glib timeout instead of qemu-timer