Thread equivalent of D8341
setThreadAvatar previously had a call to displayFailureAlert, however, this function is only relevant on native since we don't display alerts on web.
As part of making the provider platform-agnostic, we "lift up" error handling/alert displaying to avatar-hooks.
We replace usages of setThreadAvatar on native with nativeSetUserAvatar.