ae.sys.signals: Use SIG_UNBLOCK instead of SIG_SETMASK to restore the mask

The mask might have changed since the pthread_sigmask calls.