Fix an NPE regression in TIFF image reading.

Jira issue key: IMAGING-113




git-svn-id: https://svn.apache.org/repos/asf/commons/proper/imaging/trunk@1534297 13f79535-47bb-0310-9956-ffa450edef68