CompareDump: do not use C++11 range based for loop.

CompareDump: do not use C++11 range based for loop.