[PATCH 3.18 39/45] alpha: fix crash if pthread_create races with signal delivery