Improve cell-grid registration/cleanup in static builds
- Change vtkDebugLeaks to allow applications to clean up before leak reporting. You can register a finalizer to release references to VTK objects held for the duration of an application.
- Also add a way to finalize before vtkFilteringInformationKeyManager::ClassFinalizer is run.
- Use both of the above to unregister vtkCellGrid responders before cleanup is performed.
- Change how the token::Singleton() storage is allocated to prevent a crash at cleanup.
This should fix #19420 (closed).
Backport: paraview/release
Edited by David Thompson