avcodec/pgssubdec: better error codes