Tearing mode stabilization by local current density perturbations