Spectroscopic characterization of chain-to-ring structural evolution in platinum carbide clusters