ND2: populate the channel color

Fixes #10530.
LZW: prevent reading beyond the end of the stream

Fixes #10525.
ND2: fix T size adjustment

Fixes #10526.
Merge pull request #419 from melissalinkert/10525

LZW: prevent reading beyond the end of the stream
Merge pull request #420 from melissalinkert/more-nd2-fixes

More .nd2 fixes