Line integration effects on ion temperatures in tokamak plasmas measured with neutron emission spectroscopy