This follows 2b4fa53 which made Clang not emit destructor calls for such objects. However, they would still not get emitted as constants since CodeGenModule::isTypeConstant() only checked whether the destructor was trivial, not if it's constexpr.
Fixes Issue #61212
For the purposes of CodeGen, checking Record->hasConstexprDestructor() isn't really helpful. Even if Record->hasConstexprDestructor() is true, a destructor can still have side-effects. Since the callers need to handle that possibility anyway, you might as well just skip the Record->hasTrivialDestructor() || Record->hasConstexprDestructor() check.