HPCC-8585 Ensure Priority is cloned into the workunit

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

HPCC-8585 Ensure Priority is cloned into the workunit