qtattributionsscanner: Support $<VERSION>, $<VERSION_DASHED> placeholders
The SBOM logic in qtbase added support for $<VERSION> and
$<VERSION_DASHED> placeholders for the PURL and CPE fields.
So far qtattributionsscanner was ignoring this, since it didn't
process PURL and CPE further.
But it's handy to use the placeholders also in other places, like the
DownloadLocation field. This avoids having to update qt_attribution.json
files in multiple places for a simple version upgrade.
Therefore extend qtattributionsscanner to replace $<VERSION> and
$<VERSION_DASHED> strings in most text fields. Error out if the
placeholder is present, but no version is given.
Pick-to: 6.8 6.10 6.11
Change-Id: I3adb9467f9475ab919bb9e9c7406930dba20cd6e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>