avformat/utils/avformat_find_stream_info: Move max_analyze_duration setup out of the packet loop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>