Issue 12555 - Incorrect error ungagging for speculatively instantiated class

https://issues.dlang.org/show_bug.cgi?id=12555

`ungagSpeculative()` should do nothing for function local symbols.