Debugger: Make some helper header stand-alone

Include <QtGlobal> to get access to QT_VERSION.

Change-Id: Id1e6b108e9b2e98015c434796bef37262e4da126
Reviewed-by: hjk <hjk121@nokiamail.com>