Debugger: Simplify QVariant dumper

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