[libvirt PATCH] Fix incorrect uses of g_clear_pointer() introduced in 8.1.0