[libvirt PATCH 10/24] tests: vir: use g_autofree