ART: Handle OOM in stack overflow

When creating a stack overflow error, we must not allocate a
new out-of-memory error. Running its constructor will lead to
a nested exception.

Bug: 27663199

(cherry picked from commit e8f3f03ce142d9cdb10a1bb6bbbb428d0e8b672f)

Change-Id: I96b9682c3eb6ad71140a062cb357d4334c7fdaa5
1 file changed