cgl: Gestalt is deprecated, stop using it
cgl: Gestalt is deprecated, stop using it

Don't use Gestalt() to get system version. Instead, get the
'ProductVersion' key from
'/System/Library/CoreServices/SystemVersion.plist'. This is the same fix
that Firefox used.

Fixes the following compilation warning:

  warning: 'Gestalt' is deprecated: first deprecated in OS X 10.8
     [-Wdeprecated-declarations]

Signed-off-by: Chad Versace <a557f7f75bf28dc19ac99107f5cc7cd6b3fbdb1a@linux.intel.com>

janesma/waffle,dcbaker/waffle,fjhenigman/waffle,waffle-gl/waffle,fjhenigman/waffle,yinquan529/waffle-gl-waffle,janesma/waffle,chadversary/waffle,waffle-gl/waffle,maurossi/waffle,chadversary/waffle,fjhenigman/waffle,maurossi/waffle,dcbaker/waffle,yinquan529/waffle-gl-waffle,evelikov/waffle,waffle-gl/waffle,chadversary/waffle,dcbaker/waffle,evelikov/waffle,maurossi/waffle,evelikov/waffle,waffle-gl/waffle,yinquan529/waffle-gl-waffle,janesma/waffle