metal: Use the existing cocoa code for creating a Metal view on macOS. Fixes the renderer size when the window is resized.