ND2: ignore invalid image offsets

Fixes QA 7534, #11305.
ND2: rework text annotation parsing so that dimensions are not overlooked

Fixes #12205.
ND2: set SizeT to the number of offsets if there is no dimension metadata

See #10773.
Do not adjust offset count if only one offset is present
One more fix to prevent equal-size planes from being ignored
Fix channel metadata population for multi-series data
merge dev_5_0 -D org: PR 1172 (Inveon: ignore the absolute path to the image file (rebased onto dev_5_0))
merge dev_5_0 -D org: PR 1180 (Ignore namespaces when filling in an XMLAnnotation's Value (rebased onto dev_5_0))
merge dev_5_0 -D org: PR 1182 (Nikon .nd2 fixes, part 3)
merge dev_5_0 -D org: PR 1183 (OME-TIFF: close helper readers when working with single-plane files)
merge dev_5_0 -D org: PR 1186 (CZI: prevent NumberFormatExceptions on missing/invalid position values)
merge dev_5_0 -D org: PR 1188 (AFI: populate magnification and physical pixel size metadata (rebased from develop))
merge dev_5_0 -D org

Repository: openmicroscopy/bioformats
Updating f152f40..603bedc
Merged PRs (fast-forward):
  # PR 1189 hflynn 'Fixing imaris file spec FAQ link'

Merged PRs:
  # PR 1172 melissalinkert 'Inveon: ignore the absolute path to the image file (rebased onto dev_5_0)'
  # PR 1180 melissalinkert 'Ignore namespaces when filling in an XMLAnnotation's Value (rebased onto dev_5_0)'
  # PR 1182 melissalinkert 'Nikon .nd2 fixes, part 3'
  # PR 1183 melissalinkert 'OME-TIFF: close helper readers when working with single-plane files'
  # PR 1186 melissalinkert 'CZI: prevent NumberFormatExceptions on missing/invalid position values'
  # PR 1188 mtbc 'AFI: populate magnification and physical pixel size metadata (rebased from develop)'
Generated by OMERO-5.0-merge-push#74 (http://ci.openmicroscopy.org/job/OMERO-5.0-merge-push/74/)