Ensure that we always set the method hotness in the profile

The method hotness were not recorded for methods extracted from the JIT
code cache.

Test: gtest & run-test
Bug: 71588770

Change-Id: Ifdf6340caa9faf5adb6f3b3b5b4046f31f34189c
6 files changed