[PATCH v3 3/8] opengl32: Use cached attributes to detect legacy contexts.