[REG2.065] Issue 12860 - typeid(_error_) symbols leaked to backend

https://issues.dlang.org/show_bug.cgi?id=12860
https://github.com/D-Programming-Language/dmd/pull/3636