[mingw] update w32api and mingwrt to 4.0.1
[mingw] removed patch files. They aren't used any longer (probably already some time ago).
Merge pull request #3266 from wsoltys/mingwupdate

[mingw] updated w32api and mingwrt to 4.0.1 and some cleanup