X-ray absorption spectroscopic study of a mixed valence system, EuPd2Si2