Rare-Earth Doped Gd3−xRExFe5O12 (RE = Y, Nd, Sm, and Dy) Garnet: Structural, Magnetic, Magnetocaloric, and DFT Study