The state return argument has not been set since commit 611291c198.
Remove it (and the one place that it's used in a calling function).
https://github.com/bitcoin/bitcoin/pull/17154/commits/9e95931865186d7a9a6dc54b64bd96507e9fea4b
Depends on D7113
Concludes backport of Core PR17154