avcodec: Replace local extern declarations for tables with header #includes