CI: Add MinGW build with extra warnings on windows. (cherry picked from commit ebc98c273054d0f9b305a1346db98052616a8b21)