Nitrogen incorporation into high-k gate dielectrics