Reduce includes of private headers from upstream modules


Removing includes that don't seem to be needed for building the code. No
effort made yet in reviewing usage of private APIs to see if there are
public alternatives.

Pick-to: 6.2
Change-Id: I6a41a3488aa6c2bbe6098a0ff6424627ab353686
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
commit17576f25587fe13aa23c138f126c9dd641efd49d
parent35be9b28087a78551c16bc717fdfbbda38a2af1b
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 26 Jul 2022 14:29:02 +0200