Fix missing return in ImageBugAlgo::flatten().
Fix ImageCache::get_pixels() for chbegin != 0 case.

The source data channel offset was being applied using the size of the destination datatype rather than from size of the source datatype.

Fixes #759.
Update ref image after recent 'flash explanation' change