Loading two identical wallet files caused a crash
> Handle the duplicate fileid exception thrown at CheckUniqueFileid in tow cases:
>
> - when duplicate wallets are set on the command line - catch in LoadWallets;
> - when a duplicate wallet is loaded dynamically - catch in LoadWallet.
This is a backport of Core PR16923