add pthread_atfork helpers to our threading shims