wined3d: Properly check for the required extensions before selecting the GLSL FFP...