Fix _d_invariant mangling on MinGW/Win32.

This is getting uglier and uglier, should probably just switch back
to extern(C) irrespective of what upstream DMD does.
Merge pull request #474 from klickverbot/mingw-invariant

Fix _d_invariant mangling on MinGW/Win32.