[ubsan] Do not run Function/function.cpp on Darwin where -fsanitize=function is not supported.