X-ray absorption spectroscopic study of the mixed valence system CePd3