HPCC-12698 Allow pointers to functions to be passd to out of line functions

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