qom/object.c, hmp.c: fix string_output_get_string() memory leak