Fix header guards using reserved identifiers
Summary: This is backport of PR#474 by Dan Raviv
Test Plan:
make check
Reviewers: schancel, MattBitprim, #bitcoin_abc
Reviewed By: schancel, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D785