RevWalk: Fix RevSort.REVERSE combined with RevSort.TOPO