Don't return null snapshotblockhash values to avoid caller complexity/confusion.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/19806 | core#19806]] [5/8]
https://github.com/bitcoin/bitcoin/pull/19806/commits/f6e2da5fb7c6406c37612c838c998078ea8d2252