fftools/ffmpeg: move processing AV_PKT_DATA_QUALITY_STATS to do_video_stats()