Don't fetch shorty when there are no listeners and  deopt isn't required

To keep the likely path of method exit hooks fast check for method exit
listeners before fetching the shorty or constructing the stack handle
scope.

This improves the performance by 2x on debuggable-cc config in golem
benchmarks

Bug: 253232638
Test: art/test.py
Change-Id: Iab740238d8a9f3ef550e5f56350f62841a5cf33f
1 file changed