avvidenc: Call avcodec_flush_buffers() after draining to allow accepting new input again

This is already done in all other codec elements.

Part-of: <gstreamer/gst-libav!97>
30 jobs for avauddec-averror-eof in 28 minutes and 13 seconds (queued for 1 minute and 5 seconds)