Unfortunately, these assertion don't fit the regex in the scripted-diff.
Therefore, we remove it manually
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/21866 | core#21866]] [9/12]
https://github.com/bitcoin/bitcoin/pull/21866/commits/3e82abb8dd7e21ec918966105648be7ae077fd8c