gl: fix build with more recent versions of MinGW

6 jobs for fix-mingw6 in 25 minutes and 5 seconds (queued for 1 second)