This way, correct `--plugin` argument are passed through.
This is a prerequisite for LTO (see [[https://github.com/bitcoin/bitcoin/pull/25391 | core#25391]]).
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/27345 | core#27345]]
Depends on D15328