GEOT-4544, ImageWorker rescaleToBytes choke with 16 bits IndexColorModel