Geometric origin of intrinsic dark counts in superconducting nanowire single-photon detectors