HPCC-8665 Fix the types of link counted arguments to out of line functio...

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