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.