Backport of core [[https://github.com/bitcoin/bitcoin/pull/16236 | PR16236]].
The second commit:
https://github.com/bitcoin/bitcoin/pull/16236/commits/fa410f67aa1d0ccd306dc16e438c1a034b8cc049
is not needed because we already have the exception in our suppression
list.