[mingw-warning-fix][missing-alloca]

alloca needs malloc.h under MinGW
Merge pull request #538 from tpaviot/review/MinGW-OpenGl-fixes

Fix TKOpenGl MinGW compilation