udp: Fix crashes after adding AVOptions