`nim gendepend` does not work with var-less destructors
### Description

```nim
type MyType = object
proc `=destroy`(a: MyType) = discard
```
Running `nim gendepend` on the above results in a compile time error saying `Error: signature for '=destroy' must be proc[T: object](x: var T)`

### Nim Version

2.0.8 and devel

### Current Output

_No response_

### Expected Output

_No response_

### Possible Solution

_No response_

### Additional Information

_No response_