The stance used in commit f72908c94df9 ("libc: properly reference
setgroups@FBSD_1.0 in initgroups@FBSD_1.0") is peculiar, and the
__weakref__ attribute requires the symbol to be internal (which poses
a problem for static linking, but for some reason not for dynamic
linking).
Instead, use the existing __sym_compat() stance, which works as long as
the referenced symbol does not have the same name as some in 'libc'.
Explain in libsys' Symbol.sys.map that exporting older system calls by
their internal name does not work in libc, and is only for the sake of
other libraries/programs.
Sponsored by: The FreeBSD Foundation