Nonlinear mode mixing in dual-wavelength semiconductor lasers with tunnel junctions