WCS server: fix segfaults (in WCS 1.0.0) when layers in the mapfile have no NAME defined