vtkWrapHierarchy: handle realloc errors properly
vtkWrapHierarchy: handle realloc errors properly

Change-Id: I4aaa036dd2a5d1372789e996cf48bdd07ea88e56

sankhesh/VTK,gram526/VTK,hendradarwin/VTK,johnkit/vtk-dev,jmerkow/VTK,mspark93/VTK,gram526/VTK,hendradarwin/VTK,msmolens/VTK,demarle/VTK,gram526/VTK,jmerkow/VTK,gram526/VTK,sankhesh/VTK,ashray/VTK-EVM,mspark93/VTK,hendradarwin/VTK,mspark93/VTK,sumedhasingla/VTK,keithroe/vtkoptix,johnkit/vtk-dev,keithroe/vtkoptix,keithroe/vtkoptix,jmerkow/VTK,sumedhasingla/VTK,gram526/VTK,SimVascular/VTK,SimVascular/VTK,msmolens/VTK,hendradarwin/VTK,demarle/VTK,SimVascular/VTK,demarle/VTK,sankhesh/VTK,demarle/VTK,sumedhasingla/VTK,demarle/VTK,mspark93/VTK,ashray/VTK-EVM,mspark93/VTK,keithroe/vtkoptix,demarle/VTK,gram526/VTK,sankhesh/VTK,hendradarwin/VTK,candy7393/VTK,jmerkow/VTK,candy7393/VTK,sumedhasingla/VTK,demarle/VTK,johnkit/vtk-dev,jmerkow/VTK,candy7393/VTK,sankhesh/VTK,SimVascular/VTK,ashray/VTK-EVM,keithroe/vtkoptix,sumedhasingla/VTK,hendradarwin/VTK,sankhesh/VTK,ashray/VTK-EVM,SimVascular/VTK,SimVascular/VTK,mspark93/VTK,johnkit/vtk-dev,gram526/VTK,jmerkow/VTK,msmolens/VTK,jmerkow/VTK,keithroe/vtkoptix,SimVascular/VTK,msmolens/VTK,msmolens/VTK,demarle/VTK,candy7393/VTK,candy7393/VTK,mspark93/VTK,sumedhasingla/VTK,candy7393/VTK,ashray/VTK-EVM,ashray/VTK-EVM,SimVascular/VTK,ashray/VTK-EVM,sankhesh/VTK,johnkit/vtk-dev,sankhesh/VTK,jmerkow/VTK,msmolens/VTK,ashray/VTK-EVM,mspark93/VTK,keithroe/vtkoptix,johnkit/vtk-dev,sumedhasingla/VTK,msmolens/VTK,sumedhasingla/VTK,candy7393/VTK,johnkit/vtk-dev,gram526/VTK,msmolens/VTK,candy7393/VTK,hendradarwin/VTK,keithroe/vtkoptix