add uid/gid size knowledge to arch structures
add support for basic getgroups, getresgid, and getresuid syscalls
add a test for uid16 versions of getres{u,g}id