getgrnam is not safe; is ABI compatible, but pthread_sigmask is

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #104 from stskeeps/getgrnam_pthread_sigmask

getgrnam is not safe; is ABI compatible, but pthread_sigmask is