gdal: failed to compile in x86_64-w64-mingw32.static target

without this changes "./configure" can not find libjson-c at least in the x86_64-w64-mingw32.static target (at master branch)