use integer math to calculate next auto-target scan-time

to combat random desync problem because of rounding problems
Merge pull request #2754 from Mailaender/auto-target-desync-hotfix

Hotfix: Addresses Desync Issues in AutoTarget Trait