Migrate RosyWriter to unified API

Changed AVCaptureVideoDataOutput.VideoSettings to WeakVideoSettings.
Change CMSampleBuffer.GetFormatDescription() to
GetVideoFormatDescription. In AVAssetWriterInput constructor, changed
NSDictionary into AudioSettings or AVVideoSettingsCompressed. Cast nint
to int, and nfloat to float.