Fix lookup table reading for OME-TIFF files

Without this change, only the first lookup table was returned regardless
of how openBytes was called.