Do not use gtk from threads other than main

Originally reported by Jacob Nevins

See bug #22168


git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@25483 a0f10bec-cc02-0410-94fc-a9cfff90b4cd