De-pessimize QSvgSwitch's isSupportedSvgFeature()
Instead of building a QStringList from QStringLiterals as runtime, and
matching the (rather long) common prefix over and over again, check
the prefix once, then only check each suffix.
Store everything in 8-bit: the prefix as a QLatin1StringView and the
suffixes in a QOffsetStringArray.
Write the code in such a way that adding future versions remains
natural (though grouped by prefix).
The code could be better by using a perfect hash (like we did in
QSvgAbstractAnimatedProperty's name2type), but that is for a different
patch.
This already saves ~3400B (0.5% of total library size) in TEXT size on
optimized Linux AMD64 Clang 21 C++26 builds.
Amends 9d189e7ccd4156180edaf9153559fb75dbfc5412 (6.8), which replaced
a gperf (perfect hash) implementation (which had the same problem of
duplicating the prefix, and caused relocations due to use of arrays of
pointers).
Pick-to: 6.11 6.8
Change-Id: I7934c819b4e35cbc784e7a9c417aedccb45113bc
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>