[libvirt] [PATCH v4 1/9] factor out virConnectCloseCallbackDataPtr methods