Restore signalmask in sigreturn() so process status gets updated properly