fix casting on Script#op_checksig
fix success state return in Script#op_checkmultisig