Magnetic anisotropy of $L1_0$-ordered FePt thin films studied by Fe and Pt $L_{2,3}$-edges x-ray magnetic circular dichroism