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