Apple/macOS: Replace deprecated Q_OS_MAC with Q_OS_APPLE or Q_OS_MACOS
Q_OS_MAC is a deprecated synonym for Q_OS_DARWIN (= Q_OS_APPLE), but
predates Qt's support for iOS and the other Apple platforms. Each
occurrence was reviewed and classified based on whether the guarded
behavior also applies to iOS and other Darwin targets.
Replaced with Q_OS_APPLE:
- XDG theme icon guards: XDG theme icons are not used on any Apple
platform, so the negation applies across the board
Replaced with Q_OS_MACOS:
- Assistant .app bundle path: the MacOS/ directory structure is
specific to macOS application bundles
- Window menu (Zoom/Minimize) in Assistant and Linguist: adding a
macOS-style Window menu is an Aqua HIG convention
Change-Id: Idb2466458be734aa23398db1756ef42a55747072
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>