move some more code out of pthread_create.c

this also de-uglifies the dummy function aliasing a bit.
2 files changed