test: Pass in CoinsTip to ValidateCheckInputsForAllFlags
Summary:
This is a backport of core#21866 [4/12]
https://github.com/bitcoin/bitcoin/pull/21866/commits/e197076219e986ede6cf924e0ea36bd723503b2d
Depends on D11648
Test Plan: ninja check
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D11649