The crossover from strong to weak chaos for nonlinear waves in disordered systems