avformat/utils: Look at the first 3 frames if timestamps indicate frame reorder but...