HPCC-12513 Clean up various windows warnings

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
I didn't want to change any semantics - but in this case nextdt > nowdt, so time should always be positive, so I don't think abs is required.