NLTE Abundances of Sodium, Magnesium and Barium in the Globular Clusters M10 and M71