fix crash in pthread_testcancel if pthread_self has not been called
[musl] / crt / arm /
2011-09-18 Rich Felkerinitial commit of the arm port