Remove usage of deprecated libavcodec/audioconvert.h functions.