`var` parameter outlives origin under ORC
### Description

I was only able to consistently reproduce it under orc/arc + `-d:useMalloc`. Without useMalloc sometimes the original program seems to run fine; not sure if it's orc specific.

```nim
type Bar = object
  y: seq[int]
type Foo = object
  x: seq[Bar]

proc echoFoo(foo: var Foo, bar: var Bar) =
  foo.x.setLen(100)
  echo bar.y.len

proc echoFoo =
  var foo = Foo(x: @[Bar(y: newSeq[int](1))])
  echoFoo(foo, foo.x[^1])

echoFoo()
```

### Nim Version

Nim Compiler Version 2.3.1 [Linux: amd64]
Compiled at 2025-02-11
Copyright (c) 2006-2025 by Andreas Rumpf

git hash: 1a7bc6d878ff04709ebb1002010fd53b4ba02179
active boot switches: -d:release

### Current Output

```text
some random number
```

### Expected Output

```text

```

### Known Workarounds

_No response_

### Additional Information

_No response_