build: replace deprecated -Werror=dev with -Werror=author

bitcoin/bitcoin: PR #36942

The review is inconclusive; no findings were published.

Coverage details