setgroups@FBSD_1.0 comes from libsys and freebsd14_setgroups was
intended to be an alias of that, but this doesn't actually work as
written. In reality, the reference in initgroups(3) compat version is
instead resolved to some other symbol (accept(2) in my testing), which
then breaks things.
Remove the include/compat.h bits because they're misleading, and instead
provide an alias for setgroups(2) now that we have a user of that. I
think there's an implication that other compat symbols in
include/compat.h might be broken in similar subtle ways since the libsys
split, but I haven't looked at any of that.
Fixes: 9dc1ac86919 ("initgroups(3): Add a pre-FreeBSD-15-compat [...]")
Fixes: 9da2fe96ff2 ("kern: fix setgroups(2) and getgroups(2) [...]")