Bug 1082902 - Add mozilla_dump_image() helper exported from libxul. r=jrmuizel