Energetics in thermally activated dislocation motion in a spinodally modulated structure