Drop the deprecated function register_avcodec() at the next major