ProfileSaver: query profiling_infos instead of the code_map
This is the first step in being able to record profiles without jit
being active.
Bug: 27916886
(cherry picked from commit e2d066d0337b7c81d47e4806e6025b70d83fcd56)
Change-Id: Ie36c4b4a11d3b6e5de959121a1acea22a9e25121