avcodec: Remove a misplaced and useless attribute_deprecated