Mark polygon/path leaf-classes as final
These private leaf classes are not intended to be inherited further.
Marking them final makes this clear, and should suppress the Clang
static analyzer warning about calling a virtual function in a
constructor ("method call during construction bypasses virtual
dispatch").
Amends b2edd51351af86381e22e76d139e983dd94d32c5
Task-number: QTBUG-144952
Pick-to: 6.11 6.10 6.8
Change-Id: I9c0fc1238fb33f6098a1aef0c1806b9507e404dc
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>