Fix deoptimization check in method exit hook

In method exit hooks called from JITed code we check if the frame
needs to be deoptimized. When getting this information from stack walk
we should ignore any runtime calls otherwise we may get incorrect
information and not deoptimize even when necessary

Test: art/test.py / testrunner.py -t 2001-virtual-structural-multithread
Change-Id: I1f50055058d4f31684f429b76422c89d1940a152
1 file changed