Use _alloca to build with mingw

Native MinGW builds also require _alloca() instead of alloca(). Previously
we used it only when building with MSVC.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>