engine detection: fix order/redundancy

The previous order was
Gl, Sdl2, Gl, Cg, null
which effectively excluded Sdl2 on every system that supported
Gl as well.
We also don't need to initialize Renderer anymore outside of the
detection loop.