This header was included since the introduction of bitcoin-util in
commit 13762bcc9618138dd28b53c2031defdc9d762d26, but boost was
actually never used (see git log -S boost ./src/bitcoin-util.cpp).
Cherry-picked out of #22953, which currently needs rebase. This commit could just be merged on its own.