Fixes the system integration of some system functions

The get{pw,grp}{nam,id} functions were not detected correctly, and so
the chula_* wrappers did not use its reentrant version appropriately.