[native] Refactor MediaGalleryMedia to function component
Summary: I need this component to be a function to be able to use useAnimatedStyle when migrating to Reanimated 2
Test Plan: Teset that the gallery still works - its possible to send, queue, dequeue media. The animations seem to work as previously
Reviewers: ashoat, ginsu
Reviewed By: ashoat
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D12144