[Native] Fix native modules CMake build
Summary:
Update native CMake logic to include addition of the
native_rust_library and another react-native header.
The native modules needs to be references as a CMake target
to avoid usage of GLOB_RECURSIVE in our Android build.
Part of https://linear.app/comm/issue/ENG-776
Test Plan:
cd native/cpp/CommonCpp/ rm -rf build && mkdir build && cd build && cmake .. && make -j
Reviewers: varun, max, bartek
Reviewed By: bartek
Subscribers: ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D6108