Fix compilation of pngdumper.

Change-Id: I15c281d6ddfe9dafa6b4411a47b341be35dbf98d
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>