[CommCoreModule] update setDeviceID to return JSI Promise instead of value
Summary:
context: ENG-2184
Use JSI promise to await operation execution instead of scheduling operation and returning result immediately.
Test Plan:
- Build app
- Logout
- Log returned value and check in the database if the value was set correctly
Reviewers: marcin, jon, inka, atul, tomek
Reviewed By: marcin, tomek
Subscribers: ashoat, tomek, atul, abosh
Differential Revision: https://phab.comm.dev/D5574