refactor: Use move semantics in CCheckQueue::Loop
Co-authored-by: Martin Leitner-Ankerl <martin.ankerl@gmail.com>
https://github.com/bitcoin/bitcoin/pull/26749/commits/d8427cc28e3a9ac3319fb452b16661957c812b8f
Drop no longer used CScriptCheck() default constructor
https://github.com/bitcoin/bitcoin/pull/26749/commits/b4bed5c1f98c0eed18f52fdcea11a420c10ed98d
This is a partial backport of core#26479
Depends on D16144