libqemustub: add stubs to be able to use qemu-char.c