Magnetoelasticity in ACr2O4 spinel oxides (A= Mn, Fe, Co, Ni, and Cu)