SILMem2Reg: disable optimizing non-copyable types in OSSA
SILMem2Reg has a problem with non-copyable types which are empty or only have trivial fields.
It produces ownership errors in OSSA. However, outside OSSA this is fine.
Fixes a compiler crash
https://github.com/swiftlang/swift/issues/89533
rdar://178204808