Dumper: Fix QImage dumper on 64bit machines

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