Include patch from upstream to fix SDL2 2.0.3 build in mingw

https://hg.libsdl.org/SDL/changeset/e217ed463f25/include/SDL_platform.h