Stabilization of energetic-ion-driven MHD modes by ECCD in Heliotron J