wms-c: don't crash if tile matrix set isn't available anymore (fixes #9361)