Revert^2 "ART: Scope localrefs for stackoverflow handling"

Ensure that the destructor runs before the thread's stack is
protected, so as to have enough space to run the destructor
in.

This reverts commit 7132c969511bd21fde08f57e4b0af8ebaa5890ed.

Reason for revert: Retain old behavior of throwing a partial
StackOverflowError when the stack trace cannot be allocated.

Bug: 116586190
Test: art/test.py
Test: art/test/testrunner/testrunner.py --optimizing --verbose --host --debug --gcstress -t 004-SignalTest
Change-Id: I216a1e2a325fb635552b22b863e50e67d362d8ba
1 file changed