Fix a-vs-an typos
Summary:
Backport of core PR12393
https://github.com/bitcoin/bitcoin/pull/12393/files
Test Plan:
make check
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D3498