Fix typo in core.sys.posix.grp

The thread-safe function to get the group is is named `getgrgid_r` and not `getgruid_r`.