Effect of resonant magnetic perturbations on local plasma current density gradients and neoclassical tearing modes