Fixed typo in header comment.
Changed C++ style comments.
Align pointer in SDL_memset before doing Uint32 loop

Some more recent compilers emit SSE aligned store instructions for the loop,
causing crashes if the destination buffer isn't aligned on a 32-bit boundary.
This would also crash on platforms like ARM that require aligned stores.

This fixes a crash inside SDL_FillRect that happens with the official x64 mingw
build.
Fixed crash if the OpenGL library hasn't been loaded yet
Generated dynapi stuff for the new WinRT entry points.
Fixed whitespace.
Added some FIXMEs.
Added note about Wayland and Mir packages for Ubuntu 14.04.
Fixed stack overflow in X11_CreateWindow() (thanks, rapha and Brad!).

This should be a "long" which on a 64-bit system is likely to be > 32-bits,
 causing XGetICValues() to write past the end of the variable (and stack).

Fixes Bugzilla #2513.