Fix hotness counting.

This fixes a bug overriding the imt index of an abstract
method.

(Adapted from commit 61673dc4bdee2fa4770ee72fbc347cca595dd231)

Test: 843-default-interface
Fixes: 234746410
Fixes: 235453073
Change-Id: I8dc8ae877998ae9d68fb4d3a6a377cab0b164407
Merged-In: Id67cd47a9fe31b4c6b154db20f632015238016d2
(cherry picked from commit 69c997edb597cbb0701a90f5d7c9e84b3e9aa1e1)
1 file changed