Force Windows version of SDL_GetPrefPath() to Unicode, create missing dirs.

Fixes Bugzilla #2273.
Mac OS X: Make OpenGL context selection more robust, avoid software fallback.

Fixes Bugzilla #2197.