MakeWalletDatabase no longer has a default DatabaseFormat. Instead
callers, like CWallet::Create, need to specify the database type to
create if the file does not exist. If it exists and NONE is given, then
CreateWalletDatabase will try to autodetect the type.
This is a backport of core#19077 [20/26]
https://github.com/bitcoin/bitcoin/pull/19077/commits/9af5de3798c49f86f27bb79396e075fb8c1b2381
Depends on D10567