Ignore invalid output script

Ignore end-of-data while counting the sig-ops in an output script.  The
reference client doesn't treat this as an error, so we have to accept it
as well.  The output will not be spendable though.