Issue 11906 - Compiler assertion when comparing function pointers

https://issues.dlang.org/show_bug.cgi?id=11906

If `f->isImportedSymbol()` is true, the translation from `AddrExp(VarExp(f))` to `SymOffExp(f)` in `AddrExp::optimize` will be skipped.
Therefore, the assertion is just wrong.