Generic concepts not compatible with openarray
### Description

Mixing generic concepts with openarray leads to compiler crashes.
The compiler matches compatible concept container types with the equivalent openarry type but mishandles them.
Procs taking the concept type, when passed an openarray, generate bad code.
Procs taking an openarray, when passed a concept, crash the nim compiler.
## Example
```nim
import std / sequtils

type
  OrderedContainer*[T] = concept x # basically openarray in concept form
    x.len is SomeInteger
    for index, item in x.pairs:
      index is Ordinal
      item is T
    type IndexType = typeOf(x.pairs.toSeq[0].key)
    x[IndexType] is T


let exampleData = @[1, 2, 3]

block conceptInsideOpenArray:
  proc conceptProc[T](arg: OrderedContainer[T]) =
    echo arg.len

  proc openarrayProc[T](arg: openarray[T]) =
    conceptProc(arg)

  conceptProc(exampleData) # compiles
  openarrayProc(exampleData) # code gen fails



block openArrayInsideConcept:
  proc openarrayProc2[T](arg: openarray[T]) =
    echo arg.len

  proc conceptProc2[T](arg: OrderedContainer[T]) =
    openarrayProc2(arg)

  openarrayProc2(exampleData) # compiles
  conceptProc2(exampleData) # nim compiler crash
```

### Nim Version

Nim Compiler Version 2.0.8 [Linux: amd64]
Compiled at 2024-07-03
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: 5935c3bfa9fec6505394867b23510eb5cbab3dbf
active boot switches: -d:release

### Current Output

```text
Error: internal error: openArrayLoc: OrderedContainer[int, OrderedContainer]
No stack traceback available
To create a stacktrace, rerun compilation with './koch temp r <file>', see https://nim-lang.github.io/Nim/intern.html#debugging-the-compiler for details

and 

/path/to/.cache/nim/example_d/@mexample.nim.c: In function ‘conceptProc__example_u288’:
/path/to/.cache/nim/example_d/@mexample.nim.c:129:121: error: ‘arg_p0Len_0’ undeclared (first use in this function)
  129 |         nimlf_(18, "/path/to/example.nim");     colontmpD_ = dollar___systemZdollars_u8(arg_p0Len_0);
      |                                                                                                                         ^~~~~~~~~~~
/path/to/.cache/nim/example_d/@mexample.nim.c:129:121: note: each undeclared identifier is reported only once for each function it appears in
Error: execution of an external compiler program 'gcc -c  -w -fmax-errors=3 -pthread   -I/path/to/.choosenim/toolchains/nim-2.0.8/lib -I/path/to/Documents/digraph/src/digraph -o /path/to/.cache/nim/example_d/@mexample.nim.c.o /path/to/.cache/nim/example_d/@mexample.nim.c' failed with exit code: 1
```


### Expected Output

```text
3
3
```


### Possible Solution

_No response_

### Additional Information

_No response_