Temperature dependence of x-ray magnetic circular dichroism in rare earth iron garnets (rare earth = Gd, Dy and Sm)