Although loadwallet() in rpcwallet.cpp assumes LoadWallet() always
assign some value to the 'status', but LoadWallet() does not do so
in some situation.
This fixes above and prevends loadwallet() returns ambiguous error code.
This is a backport of core#19919
The problem is probably introduced in D10227 or D10229, but I wasn't able to reproduce
it.
Depends on D10231