validation: Pass in coins tip to CheckInputsFromMempoolAndCache
Summary:
This is a backport of core#20750 [2/19]
https://github.com/bitcoin/bitcoin/pull/20750/commits/252b489c9f9c9e7dceb919e9cbd208ea72d75e68#i
Depends on D11189
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D11190