wined3d: Get rid of some powf() calls.