Fixing segfault when coverage rendering failed.

`exceptionCode` was not checked if it was NULL, thus in some cases (e.g: when msDrawRasterLayerLow failed) a segfault occurred.