HPCC-2695 More clang warnings

Fixed more warnings generated by Clang compiler.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>