The effect of gravity modulation on solutal convection during directional solidification