smoothstreamingenc: Properly return errors from ism_flush to the caller