[libvirt PATCH 05/11] virthread: Introduce virLockGuard