TM iOS: avoid bad memory access when passing prop name to a lambda
TM iOS: avoid bad memory access when passing prop name to a lambda

Summary: Depending on the timing of the method call from JS to a CxxModule, we may be accessing memory that has been deallocated, causing exception to RN runtime. This fixes it.

Reviewed By: JoshuaGross, mdvacca

Differential Revision: D14033831

fbshipit-source-id: 5a77aa41223b1fc3146dcf78b7f8e93375605d6d

facebook/react-native,hoangpham95/react-native,pandiaraj44/react-native,exponentjs/react-native,hammerandchisel/react-native,exponent/react-native,javache/react-native,exponentjs/react-native,hoangpham95/react-native,facebook/react-native,exponent/react-native,hammerandchisel/react-native,hammerandchisel/react-native,facebook/react-native,hoangpham95/react-native,hoangpham95/react-native,myntra/react-native,pandiaraj44/react-native,myntra/react-native,exponent/react-native,javache/react-native,pandiaraj44/react-native,hammerandchisel/react-native,arthuralee/react-native,facebook/react-native,javache/react-native,myntra/react-native,exponent/react-native,arthuralee/react-native,hoangpham95/react-native,exponent/react-native,janicduplessis/react-native,myntra/react-native,exponent/react-native,pandiaraj44/react-native,exponentjs/react-native,pandiaraj44/react-native,myntra/react-native,exponentjs/react-native,hoangpham95/react-native,javache/react-native,janicduplessis/react-native,hammerandchisel/react-native,myntra/react-native,janicduplessis/react-native,exponentjs/react-native,facebook/react-native,arthuralee/react-native,exponent/react-native,myntra/react-native,facebook/react-native,janicduplessis/react-native,hammerandchisel/react-native,javache/react-native,janicduplessis/react-native,arthuralee/react-native,arthuralee/react-native,javache/react-native,pandiaraj44/react-native,myntra/react-native,facebook/react-native,exponentjs/react-native,exponent/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,janicduplessis/react-native,facebook/react-native,exponentjs/react-native,hammerandchisel/react-native,pandiaraj44/react-native,janicduplessis/react-native,hammerandchisel/react-native,pandiaraj44/react-native,javache/react-native,javache/react-native,exponentjs/react-native,hoangpham95/react-native,hoangpham95/react-native,myntra/react-native