Tests: Fix QThread dumper for old gdb (~7.4)

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