[perf] Remove unnecessary existence checks in doCreateAt().
[perf] Remove unnecessary existence checks in doCreateAt().

Originally we were making a WalkGetAttrOne RPC to confirm that a file does not
exist on the remote filesystem - when there was no cached information about the
existence of a dentry at that position.
This change avoids making that RPC and speculatively makes the
mkdir/mknod/linkat/symlink RPC. They will fail with EEXIST if a file exists at
that position as we want.

However the error ordering is important. Existence check comes before
writability check. So we make the existence check when the writability check
fails and give it precedence.

This change saves ~76,000 RPCs while building //absl/... (ABSL build benchmark).
That is 10% of all RPCs made while running that workload.

PiperOrigin-RevId: 371225633

google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor,google/gvisor