Off-axis gain enhancement in a free-electron laser in the long undulator regime