avformat/options: don't call avformat_free_context() within avformat_alloc_context()