GEOT-4836, fixing resolution computation in mosaic (Backport on 10.x)

Backport on 10.x of the fix for https://jira.codehaus.org/browse/GEOT-4836