txscript: Check p2sh push before parsing scripts.
txscript: Check p2sh push before parsing scripts.

This moves the check for non push-only pay-to-script-hash signature
scripts before the script parsing logic when creating a new engine
instance to avoid the extra overhead in the error case.

jrick/dcrd,decred/dcrd,jrick/dcrd,decred/dcrd