Scattering and dissipation of seismic waves in the presence of nonlinearity