cleanup: replace Q_OS_MAC with Q_OS_MACOS


`Q_OS_MAC` is deprecated, replacing it with Q_OS_MACOS silences some
deprecation warnings.

Change-Id: Id4137a75a5f66de32bde4735ffe8ab5551a2a50f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
commit36452418e83f9188706c28a61cc6bb67f85ac63e
parentfaf44d28ff61ad76c3a44a97173f0f493e4a1865
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 12 May 2026 09:17:44 +0000