Valence State Tuning of Gold Nanoparticles in the Dewetting Process: An X-ray Photoelectron Spectroscopy Study