HPCC-12513 Clean up various windows warnings

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-12513 Changes following code review

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #6599 from ghalliday/issue12513

HPCC-12513 Clean up various windows warnings

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Jamie Noss <james.noss@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>