Softening of spin-wave stiffness near the ferromagnetic phase transition in diluted magnetic semiconductors