qemu-char: Fix use of free() instead of g_free()