worktrees: add find_shared_symref