Drop boost/preprocessor dependencies
Summary:
Use own macros instead of boost's ones.
Backport of core#21059.
Depends on D12901.
Test Plan:
ninja bench-bitcoin arc lint --everything
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D12902