lavf: fix memleaks in avformat_find_stream_info()