build: add global var for whether or not the gui is enabled

Conflicts:
	src/qt/bitcoin.cpp