Fix big-endian tiff images.