[libvirt PATCH 3/4] qemu: tpm: use g_autoptr where applicable