HPCC-12481 Add peak memory usage for the compile phase to wu stats

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>