DataFlowSanitizer: Factor the wrapper builder out to buildWrapperFunction.