Add types for setresgid/getresgid