On the Pythagoras numbers of real analytic surfaces