[libvirt] [PATCH] Simplify some redundant locking while unref'ing objects