core/frame: introduce NAVideoBuffer::from_raw_parts()