Pass null Chain interface pointer to CWallet. This is needed to drop
libbitcoin_server dependency and avoid linking node code.
https://github.com/bitcoin/bitcoin/pull/15639/commits/fbc6bb8e8310ddf12e675d698cda3bdae4f361b8
Partial backport of Core PR15639