Complete patch of correction of vtkSmartPointer usage

I forgot to add one hook in the last patch. The example suite passed without errors on my machine.
Note: To verify the correct usage in vtk code, recompile vtk with the "vtkDebugLeaks" flag which will enable the reference counting in vtk.