Replace deprecated Q_WS_MAC macro with equivalent Q_OS_MAC