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

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
I feel that there should also be a runtime test for this.