`QueueOptions::default_lanes` called `std::thread::available_parallelism`
on every call. On Linux that call opens /proc/self/cgroup and the cpu.max
file of every cgroup level, so each call costs several file opens and
reads. `ThumbnailOptions::new` calls it, and the glyphs panel's
`glyph_painter` builds a `ThumbnailOptions` for every visible cell in
every pass, so the panel made about 5,000 such calls per frame.
The lane count is now computed once and kept in a `OnceLock`. wasm32
still returns 0.