HPCC-11072 set returned values to 0 if not available

In the getWorkunitTotalTime(), if the requested stats
values are not available, set the returned values to 0.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>