[libvirt PATCH 2/5] tests: commandtest: use g_autofree