Move the FFmpeg/libav support code into libcainteoir.