Nonlinear-optical switching in gold nanoparticles driven by magneto-optical effects exhibited by carbon nanotubes