simpleperf: reimplement GetThreadMmapsInProcess.

Use ReadProcessMaps in libprocinfo to:
1. Speed up reading map file from 3.5 ms to 1.3 ms when reading
testdata/maps on walleye. It helps because JITDebugReader spends
most time calling GetThreadMmapsInProcess.
2. Support parsing map names with space, which will be used to
read dex files in apk files.

Bug: http://b/79118393
Test: run simpleperf_unit_test.
Change-Id: I7f5f554fbc403f3512b1ba2c9fa7147018107a5f
2 files changed