[libvirt] [PATCH v4 1/2] remote: Extract common clearing of event callbacks of client private data