Nonlinear energy transfer during the transition to drift-interchange turbulence