HPCC-12307 Add __declspec(noreturn) to functions

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