[libvirt PATCH v2] remote: add mutex when freeing private callbacks