[GEOT-4743] ImageIO-Ext-Gdal plugin doesn't make a null check on the input parameters.

Pleas look at the following JIRA: https://jira.codehaus.org/browse/GEOT-4743.

This pull requests add a null check on the input parameters in order to avoid a reading failure.