e40fa98 Simplify bswap_16 implementation (danra)
Pull request description:
Simplify bswap_16 implementation on platforms which don't already have it defined.
This has no effect on the generated assembly; it just simplifies the source code.
---
Backport of Core [[https://github.com/bitcoin/bitcoin/pull/11138 | PR11138]]