Do not copy stack after stack overflow, fixes #8435

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>