Thermal mass shift of nucleons