Holographic vector superconductor in Gauss–Bonnet gravity