[lib] Introduce new GenericUserInfoWithAvatar type
Summary:
I'll reuse this in later diffs, so factoring it out here.
Depends on D8044
Test Plan:
Flow, along with the testing I did for the whole stack:
- ENS flow, both when user has an ENS avatar and when they don't
- Setting an emoji avatar
- Setting an image avatar via camera
- Setting an image avatar via media library
- Tested avatar update flow after being logged in to make sure I didn't regress anything
Reviewers: atul, ginsu
Reviewed By: atul
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D8045