ci: use a single setup script for mingw (cherry picked from commit f7bb4ff80bfa5e5173232685b13f143b572f36de)