copy old API items we still depend on

As per doc/APIchanges in libav/ffmpeg, URLContext/URLProtocol were dropped from the public API of libavformat since 52.107.0. Pending a better solution from motion upstream, we copy the definitions here.