Convergence of the viscosity method for some nonlinear hyperbolic systems