Use Q_OS_MAC, not Q_WS_MAC

The latter doesn't exist any more in Qt 5.

Change-Id: Ib8430549e8a975626ebfe0cd4ca7c3f6eade1e4f
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>