wined3d: Translate LOGP to LG2 in the ARB shader backend.