Fixed compilation on mingw.

Found and tested in mingw Firefox build. There are two problems:

- GCC doesn't support __vectorcall calling convention, so its usage needs to be #ifdefed
- GetProcAddress returns FARPROC type (a function pointer) and GCC requires an explicit cast to void*

Review URL: https://codereview.chromium.org/1589933002
2 files changed