lavc/libopusdec: Allow avcodec_open2 to call .close