gltrace: Fix the computation of image sizes.

The size, instead of being computed as

  image_height * row_stride

should actually be

   size_of_first_row + (image_height - 1) * row_stride

as tsondergaard explained in issue #208.