Surface effects on Sm valence in amorphous Sm alloys