This makes it possible to build with libfuzzer on macOS ([[https://github.com/bitcoin/bitcoin/pull/18008 | PR18008]]), fix
the issue that this PR introduced for other platforms ([[https://github.com/bitcoin/bitcoin/pull/19366 | PR19366]]) and add
the corresponding documentation ([[https://github.com/bitcoin/bitcoin/pull/17942 | PR17942]]).
This is a backport of core [[https://github.com/bitcoin/bitcoin/pull/17942 | PR17942]], [[https://github.com/bitcoin/bitcoin/pull/18008 | PR18008]] and [[https://github.com/bitcoin/bitcoin/pull/19366 | PR19366]].