ifdefs are really annoying in the code. Define MSG_NOSIGNAL to zero when undefined and remove associated ifdefs. (cherry picked from commit d6d06909dae55bd594f5a9d6bf54dad04eae382f)