X-ray spectroscopic evidences of the electronic change of regime of Ce in the CeNixPt1−x solid solution