Use getStartAndEndForAccess to compute the start and end of both src
and sink (factored out to helper in bce3680f45). If they do not
overlap (i.e. SrcEnd <= SinkStart || SinkEnd <= SrcStart), there is no
dependence, regardless of stride.
PR: https://github.com/llvm/llvm-project/pull/92307