d3d9: Use a half-pixel offset when drawing a tex.

Fixes half pixel offset issues (center of pixels is 0,0 in d3d9, but
texels are at 0.5/w,0.5/h.)
Fix mixed newline style.
Merge pull request #6930 from unknownbrackets/d3d9

Use a half-pixel offset when drawing textures