Revert "Enable sgen on mingw64."

This reverts commit 3cd09d1d84abae271cd8627e57be83cf161135b1.

Revert this as it reverts unrelated changes.