This is a backport of Core PR16902 [1/3]
https://github.com/bitcoin/bitcoin/pull/16902/commits/89fb241c54fc85befacfa3703d8e21bf3b8a76eb
src/bench/verify_script.cpp was removed from BitcoinABC in https://reviews.bitcoinabc.org/rSTAGING1ff7b561eb7c6f30f1ec788e9503c30bc6485752