HPCC-10417 Update workunit state on failure to load dll

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>