[libvirt] [PATCH v3 1/8] factor out virConnectCloseCallbackDataPtr methods