Affects the following RPCs:
- `getblockheader`
- `getblock`
Also adds trivial tests on genesis block (should not contain "previousblockhash") and best block (should not contain "nextblockhash").
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/21053 | core#21053]]