dx9: Small optimization to viewport scaling.
dx9: Correct half-pixel offset.

This fixes the pixel of blank space at the top, and the gpu/commands/basic
test.
Merge pull request #7206 from unknownbrackets/gpu-minor

Small optimization to viewport scale + correct y offset