Effect of magnetic perturbations on turbulence-flow dynamics at the L-H transition on DIII-D