HPCC-11069 On some systems, eclcc gives SIGPIPE error in libjvm in debug builds

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #5596 from richardkchapman/javaembed-sigpipe

HPCC-11069 On some systems, eclcc gives SIGPIPE error in libjvm in debug

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>