SERVER-9124: Avoid raw pointers for SM's nativeHelper