Issue #23848: Try to fix test_faulthandler on ARM

Restore the previous code for stack_overflow().
1 file changed