This commit changes the face_ptex_offset from a manually managed int array to a blender::Array. This required a number of changes: * The `Subdiv` struct is no longer trivial, so MEM_new and MEM_delete need to be used * The Draw module API has an overloaded set of `origindex_buffer` methods created to take in a Span instead of an int pointer and size Pull Request: https://projects.blender.org/blender/blender/pulls/141702