do not use first directory as potential mask, to avoid assertion in GTiffDataset::SetDirectory?() (#6287)

reject files with strips/tiles/scanlines bigger than 2 GB to avoid 32 bit integer overflow.
Also in case of files with Contig PlanarConfiguration? do not make reading one block for band 2 OK when reading for band 1 issued an error (#6288)