Scan globals conservatively by reading writable sections from the PE header. I'd like to get rid of needing to precisely scan globals eventually, and this brings us one step closer. It also avoids a bug with ThinLTO on Windows.
This uses Mingw-w64, which seems to be the de facto standard for porting Unixy programs to Windows.