Replace nHashType with SigHashType in script/sign
Summary: Continue refactors for T61. D885 depends on this diff.
Test Plan: make check
Reviewers: deadalnix, O1 Bitcoin ABC, #bitcoin_abc
Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D909