avcodec/proresdec2: Do not discard frames with bad slices