[PATCH 1/4] wined3d: Fix detection of Apple core contexts.