Comparison of Pt 5d-magnetic states between thin-film and bulk of M-Pt (M=Mn and Co) compounds by magnetic circular dichroism