A first-principles description for the magnetic X-ray dichroism of Pt in Fe