qemu-char: make char drivers dynamically registerable