OpenGL/System: include SDL_version.h

Required for SDL_MAJOR_VERSION.
EGL/TopCanvas: move code to GetBindAPI(), GetRenderableType()