Gravitational AdS to dS phase transition in five-dimensional Einstein-Maxwell-Gauss-Bonnet gravity