Fix #10271 (crash from race condition in SVG cache when using parallel rendering)