core: Fix profile validation for GL
core: Fix profile validation for GL

For OpenGL:
  - For version < 3.2, ignore the profile.
  - For version >= 3.2, check that version is either core or compat.

This complies with the waffle_config manpage, section
WAFFLE_CONTEXT_PROFILE.

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

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