[libvirt PATCH 12/24] tests: use g_autoptr instead of virJSONValueFree