When loading a TIFF file with signed-int samples, convert the samples to unsigned-int by offsetting them to the unsigned range, instead of misinterpreting them as unsigned values. (cherry picked from commit 8b981933)