[GEOT-4855] Mosaic operation modifies input ImageLayout if passed as RenderingHint

Please look at the following JIRA: http://jira.codehaus.org/browse/GEOT-4855.