HPCC-11516 Extract errors from compile logs and add to workunit

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #6702 from ghalliday/issue11516

HPCC-11516 Extract errors from compile logs and add to workunit

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>