Follow-up to #30476 and #30541:
Found by OSS-Fuzz: https://issues.oss-fuzz.com/issues/369374541
Probably a duplicate of, or similarity with #30498
File: clusterfuzz-testcase-scriptpubkeyman-6582005385461760.not.txt
0$ FUZZ=scriptpubkeyman perf record -g --call-graph dwarf ./bld-cmake/src/test/fuzz/fuzz -runs=1 /tmp/clusterfuzz-testcase-scriptpubkeyman-6582005385461760.not.txt
1$ hotspot ./perf.data