agent: Fix sending connecting process uid to pinentry.
* agent/command-ssh.c (get_client_info): Use LOCAL_PEERCRED.
LOCAL_PEERUID was wrong (while there is LOCAL_PEERUUID).
For FreeBSD and macOS, we can use LOCAL_PEERCRED to get uid.
- GnuPG-bug-id: T3757
- Fixes-commit: 28aa6890588cc108639951bb4bef03ac17743046
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>