refs API: ignore errno in worktree.c's find_shared_symref()