Fix Buck package boundary violation involving RCTEventDispatcher.h (#31965)
Fix Buck package boundary violation involving RCTEventDispatcher.h (#31965)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/31965

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D30030580

fbshipit-source-id: 3b4140a831c7ad7282aae0ff79c54014dcd82615

janicduplessis/react-native,facebook/react-native,pandiaraj44/react-native,pandiaraj44/react-native,facebook/react-native,pandiaraj44/react-native,javache/react-native,javache/react-native,janicduplessis/react-native,javache/react-native,pandiaraj44/react-native,facebook/react-native,javache/react-native,facebook/react-native,pandiaraj44/react-native,javache/react-native,facebook/react-native,pandiaraj44/react-native,facebook/react-native,janicduplessis/react-native,janicduplessis/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,pandiaraj44/react-native,facebook/react-native,janicduplessis/react-native,javache/react-native,pandiaraj44/react-native,javache/react-native,javache/react-native,facebook/react-native,janicduplessis/react-native,janicduplessis/react-native