Handle a special case of lock aliasing during lock verification

Check whether the two instructions immediately before a monitor-enter
are const-class, establishing previously untracked lock aliasing
in a low-overhead manner.

Test: m test-art-host
Change-Id: I94c187cbc422f8f0c13b688b09a5d9579a735b56
5 files changed