De Sitter and power-law solutions in non-local Gauss–Bonnet gravity