Fix negative texel wrapping in softgpu.

No longer crashes in Jeanne d'Arc, still looks awful.
Also faster on x64 at least.
Merge pull request #3585 from unknownbrackets/softgpu

Fix negative texel wrapping in softgpu