fix a rounding problem in SHP(TS) offset floating point math

closes #5765
Merge pull request #5786 from Mailaender/shp-ts-offset-fix

Fixed Tiberian Sun construction yard flickering