embedded: specialize vtables of classes which are a target of cast operations
Even if the specific class is never created, we need to specialize a vtable, because it's used in IRGen for generating the code for the cast operation.
Fixes a crash in IRGen
https://github.com/swiftlang/swift/issues/87248
rdar://170435034