In advance of deprecating the generate RPC method, make some small
changes to a small number of inidividual test cases:
- make memory checking less prescriptive in wallet_basic.py
- replace calls to generate with generatetoaddress in wallet_keypool.py
- replace calls to generate with generatetoaddress and fixup label issues in wallet_labels.py
- replace calls to generate with generatetoaddress in wallet_multiwallet.py
This is a partial backport of Core PR14468 : https://github.com/bitcoin/bitcoin/pull/14468/commits/c269209336dfa7e4258cfe7d5b0a3bc07b0da3b2
I also added a similar fix for abc-parkedchain.py