Deformations of minimal cohomology classes on abelian varieties