false positive deprecation warning printed for converter that is not actually used
### Description

```nim
type X = distinct int

converter toInt(x: X): int{.deprecated.} = int(x)

template `==`(a, b: X): bool = false # this gets called so we didn't convert

assert not (X(1) == X(2))
```

### Nim Version

2.0.8

### Current Output

```text
testit.nim(7, 14) Warning: toInt is deprecated [Deprecated]
testit.nim(7, 22) Warning: toInt is deprecated [Deprecated]
```


### Expected Output

```text
no warnings
```


### Known Workarounds

_No response_

### Additional Information

_No response_