The influence of noise on the determination of the Curie temperature from magnetocaloric measurements