Role of the current density profile on drift wave stability in internal transport barrier reversed magnetic shear experiments at JET and Tore Supra