[libvirt PATCH 04/24] tests: use g_autoptr instead of virObjectUnref