On Kaluza-Klein spacetime in Einstein-Gauss-Bonnet gravity