Clear shared method bit when doing boot image profiling.

Otherwise, the profile saver thinks all methods in the boot image are
hot.

Test: 595-profile-saving
Bug: 223366272
Change-Id: Ieff95a6fe11cabfa9b3ccf1364b8dae080d08cf8
(cherry picked from commit 8bf5afd32336da9ae96668b2ef31f06678d30347)
Merged-In: Ieff95a6fe11cabfa9b3ccf1364b8dae080d08cf8
3 files changed