Improve stack unwinding during gcstress tests. am: 357d4db493
am: b468cef8cc

Change-Id: Ib2f8fd337348e89a2b958eda83ce7d12c742cfa2