[thumbnail] Fix reading thumbnail plugins only once

Reading the list of plugins is relatively expensive, so we only want to read them once

ab2660f2 removed the 'static' here, introducing a performance regression
3 jobs for !166 with work/fixthumbnailperf in 4 minutes and 48 seconds (queued for 6 seconds)
latest merge request