revwalk: clear the flags on reset These store merge-base information which is only valid for a single run.