msSaveImageGDAL(): avoid segfault in msXmpPresent() if called with map == NULL