Debugger: Build auto tests with -gdwarf-3 when targeting GDB 7.4

We don't see any local variables otherwise.

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