Add attribute noreturn (C++11) to functions that will not return
Summary:
Rationale:
- Reduce the number of false positives from static analyzers
- Potentially enable additional compiler optimizations
Backport of core's PR10843
Depends on D906
Test Plan:
make check
Reviewers: schancel, #bitcoin_abc
Reviewed By: schancel, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D911