need to realpath restricted if it's symlink/amd-automount

If SSH_RESTRICT_DIR has symlinks (amd auto mounted fs) then strncmp() in libpkg/ssh.c will fail.  We need to compare realpath fpath with another realpath rpath.