The buffers from the new Draw Manager increase their size as needed, but they never shrink. Add `StorageArrayBuffer::trim_to_next_power_of_2` function that can downsize the buffer following the same heuristic as `get_or_resize`. Add `StorageVectorBuffer::trim_and_clear`, which calls `trim_to_next_power_of_2` automatically. Pull Request: https://projects.blender.org/blender/blender/pulls/114857