[SuperSize] Fix missing sizes in LinkerMapParserTest.test_Parser().

LinkerMapParserTest.test_Parser() creates an iterator of processed
test .map file. Previously this iterator was shared between calls to
  (1) DetectLinkerNameFromMapFile(),
  (2) .MapFileParser().Parse().

This causes a bug in the test: (2) requires a fresh iterator, and it
explicitly it skips the first line! Consequently, a number of section
sizes ({.interp, .ARM.exidx, .dynsyn}) were missing.

This CL fixes the test by creating fresh iterators for (1) and (2).
Also, the section sizes are sorted to reduce arbitrariness of dict
iteration.

Bug: 892648
Change-Id: Ib52f17b0446012fe37951c86409c450d59b57e4a
Reviewed-on: https://chromium-review.googlesource.com/c/1375610
Commit-Queue: agrieve <agrieve@chromium.org>
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616304}
2 files changed