LZW: fix one more off-by-one

See http://www.openmicroscopy.org/community/viewtopic.php?f=13&t=7705
Merge pull request #1497 from melissalinkert/lzw-again

LZW: fix one more off-by-one
merge develop -Dnone -Ibreaking -Eexclude -Ssuccess-only

Repository: openmicroscopy/bioformats
Excluded PRs:
  # PR 1502 melissalinkert 'Inveon: fix offsets for files larger than 2GB' (user: melissalinkert)
  # PR 857 melissalinkert 'Initial support for Zeiss .lms files' (user: melissalinkert)
  # PR 1492 sbesson 'Command line profiling' (user: sbesson)
  # PR 1381 melissalinkert 'Parse physical pixel sizes from CellSens .vsi datasets' (user: melissalinkert)
  # PR 1443 joshmoore 'Genshi ZIP' (user: joshmoore)
  # PR 1161 sommerc 'Initial CellH5 Reader class' (user: sommerc)
  # PR 858 melissalinkert 'Initial support for Veeco AFM data' (user: melissalinkert)
  # PR 1426 qidane 'Initial Rendering Definitions schema' (exclude comment)
  # PR 1177 rleigh-dundee 'specification: Add metadata for HDF5 embedding' (exclude comment)
  # PR 1505 rleigh-dundee 'C++: Additional metadata additions' (user: rleigh-dundee)
  # PR 1015 qidane 'Messy binary' (exclude comment)
  # PR 1499 rleigh-dundee 'C++: XML validation, writing and wrapper cleanup' (user: rleigh-dundee)
  # PR 1479 qidane 'Updated XSLT for units conversion' (exclude comment)
  # PR 1309 melissalinkert 'Allow tile-based access of large JPEG-2000 images' (exclude comment)
  # PR 1407 melissalinkert 'TIFF: fix plane count calculation for pyramids with multiple planes' (user: melissalinkert)
  # PR 1500 bjoernthiel 'take new dimensions into account' (user: bjoernthiel)
  # PR 1501 rleigh-dundee 'FormatReader/FormatTools Modulo improvements' (user: rleigh-dundee)
Updating b97e94a..0147338
Previously merged:
  # PR 1497 melissalinkert 'LZW: fix one more off-by-one'
  # PR 1504 sbesson 'Allow to run tests in non-default locale'
  # PR 1498 sbesson 'Ant target reviews'
  # PR 1493 melissalinkert 'Add a page that gives an overview of each repository component'
  # PR 1480 melissalinkert 'Imspector OBF: support version 5 stacks'
  # PR 1495 melissalinkert 'ImageJ: enable min/max calculation if any series contains float data'
  # PR 1489 sbesson 'Use Javadocs rather than source code links when possible'
  # PR 1442 bramalingam 'Update roi handler'

Generated by OME-5.1-breaking-push#240 (http://ci.openmicroscopy.org/job/OME-5.1-breaking-push/240/)