CMB neutrino mass bounds and reionization