Minimizing the effect of white matter lesions on deep learning based tissue segmentation for brain volumetry