HPCC-10417 Update workunit state on failure to load dll

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #5240 from afishbeck/roxieLoadDllFailure2

HPCC-10417 Update workunit state on failure to load dll

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>