Remove CCoinsViewCache::GetValueIn(...)
Summary:
Fixes #18858.
It seems like GetValueIn was added in PR748 ("Pay-to-script-hash (OP_EVAL replacement)", merged in 2012) and the last use in validation code was removed in PR8498 ("Near-Bugfix: Optimization: Minimize the number of times it is checked that no money...", merged in 2017).
This is a backport of Core PR18859
Test Plan: nja all check-all`
Reviewers: #bitcoin_abc, majcosta
Reviewed By: #bitcoin_abc, majcosta
Differential Revision: https://reviews.bitcoinabc.org/D9071