Constraints on Neutrino Masses from Weak Lensing