finish backporting PR9602 - test_bitcoin clean up unused param
Summary:
https://github.com/bitcoin/bitcoin/pull/9602/files
param unused since D4790
Test Plan: ninja check
Reviewers: #bitcoin_abc, deadalnix, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D4811