GEOT-4544, ImageWorker rescaleToBytes choke with 16 bits IndexColorModel
Merge pull request #258 from geosolutions-it/10.x-up

GEOT-4544, ImageWorker rescaleToBytes choke with 16 bits IndexColorModel