Add libavutil/internal.h #include, required for the DECLARE_ALIGNED macro.