ntdll: Split the signal setup into process-wide and thread-specific routines.