D3D: Fixed anisotropic filtering.

This got broken when d3d state cache was implemented.
Merge pull request #1327 from kayru/d3d_aniso_fix

D3D: Fixed anisotropic filtering