Instead of removing frames one by one, the `GreasePencil::remove_frames` function now expects a span of frame numbers, replacing the `GreasePencil::remove_frame_at` function. Now, when drawings need to be deleted, we shrink the array only once. Pull Request: https://projects.blender.org/blender/blender/pulls/110957