GEOT-4544, ImageWorker rescaleToBytes choke with 16 bits IndexColorModel
Merge pull request #257 from geosolutions-it/upm

GEOT-4544, ImageWorker rescaleToBytes choke with 16 bits IndexColorModel