[libvirt] [PATCHv2 5/7] conf: make virNetworkIpDefClear consistent with other functions