[native] Add branching to fixUnreadActiveThread to support RawThreadInfos
Summary:
Same as much of the stack before, we need to add branching to support both LeagacyThreadInfos and MinimallyEncodedThreadInfos.
There's a lot of cut/paste here. I'm currently focused on getting to 0 flow issues across the codebase, but will come back and try to tidy these up before landing to avoid cluttering up codebase w/ noise.
NOTE: CI is expected to fail. I got to a point in my local environment where all flow issues were resolved, but based on earlier fedback in the stack I'm breaking them down so things are easier to review.. even if that means that intermediate steps fail.
[skip-ci]
Depends on D10278
Test Plan: flow/CI/etc.
Reviewers: ashoat, ginsu, tomek, rohan
Reviewed By: ashoat
Differential Revision: https://phab.comm.dev/D10280