[lib] Update signatures of thread utils to handle MinimallyEncodedRawThreadInfo
Summary:
Updated utilities in thread-utils that just required updating signature. Will now go through and handle the ones that require some branching on minimallyEncoded, eg getCurrentUser, membersHasAdminPowers, threadMemberHasPermission, etc.
Depends on D9810
Test Plan: Flow, will add unit tests for these once refactor is done
Reviewers: ashoat, ginsu, tomek, rohan
Reviewed By: ashoat
Subscribers: wyilio
Differential Revision: https://phab.comm.dev/D9811