avcodec/decode: always free private_ref