Influence of Jahn-Teller Ions on Spin-Lattice Relaxation in Ferrimagnets