Effect of magnetic field on holographic insulator/superconductor phase transition in higher dimensional Gauss–Bonnet gravity