Be pedantic about stack overflow.

Add some magic to the fault handler to handle stack overflow
due to BLR
optimization, and disable the optimization if fastmem is
not enabled.