win32: Fix a bunch of c99isms
win32: Fix a bunch of c99isms

With c89 (which msvc implements) variables still need to be
declared at the beginning of a block.

Unity-Technologies/gtk,johne53/MB3Gtk-2,Unity-Technologies/gtk,Distrotech/gtk,Distrotech/gtk,Unity-Technologies/gtk,johne53/MB3Gtk-2,Unity-Technologies/gtk,johne53/MB3Gtk-2,Distrotech/gtk,johne53/MB3Gtk-2,Unity-Technologies/gtk,Distrotech/gtk,johne53/MB3Gtk-2,Distrotech/gtk