-Wglobal-constructors: Don't warn on trivial defaulted dtors

Fixes PR19253.