Minor refactoring of the CROP operation

This pull request is a fix for the issue https://github.com/geosolutions-it/jai-ext/issues/35.