For mingw gtk2, allow setting ENV['GDB'] for gcc profiling.

 Not part of the commit is the changes to glib 2.28/mingw to
use pthreads - see notes/Bugs.txt 2014-10-11