Add missing declarations for Solaris.

- core.sys.posix.grp is not yet implemented
- typo in core.sys.posix.unistd.d
In all other versions (except the comment!) the name is `getgruid_r`. This is a typo, isn't it? Grepping my Gentoo Linux did not reveal such a function name.