QSvgRefCounted hierarchy: de-inline dtors
Destructors of polymorphic classes should be defined out-of-line, even
if empty, to avoid -Wweak-vtable and all the bad side effects that
weak vtables entail.
For the few dtors that were already out-of-line, add the override
keyword, if missing, and standardize on =default instead of {}.
Amends many, but essentially the start of the public history.
When picking back, will just drop changes to classes that had not been
added in that branch. This is a best-effort change for older branches.
Task-number: QTBUG-45582
Pick-to: 6.11 6.8
Change-Id: I1ea2da3d9cdef77291b7f376dc08eeec3005487f
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>