XAS study of a Pt-containing rod-like organometallic polymer