[libvirt PATCH 1/2] tests: use g_auto in testQemuGetCaps