Photoshop TIFF: ignore layers if the channel count is wrong (rebased onto develop)



This is the same as gh-353 but rebased onto develop.

----