c-stack: work around libsigsegv 2.8 bug