Fix some ffmpeg/libav compiler conditions