[libvirt] PATCH: Fix missing thread locking for new remote APIs