security/sssd2: Reimplement UID-finding using sysctl
This avoids a dependency on procfs or linprocfs, so makes sssd2
marginally more usable when using the krb5_store_password_if_offline
option.
Sponsored by: Klara, Inc.
Signed-off-by: John Hixson <jhixson@freebsd.org>