chroot: fix setgroups prototype on linux