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

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>