[libvirt PATCH 11/24] tests: use g_autofree