helper_thread: fix pthread_sigmask typo.