HPCC-12145 Jsocket printf causes invalid output from eclcc

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>
Merge pull request #6392 from mckellyln/hpcc12145

HPCC-12145 Jsocket printf causes invalid output from eclcc

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>