Resonant second-harmonic generation in a GaAs photonic crystal waveguide