properly access mcontext_t program counter in cancellation handler