fix: function gname2gid should be set an error value to the errno on failure.
change: argument type of setregid function has been changed.
change: gid_try.lua has been updated.