Fix vtkCompositeDataToUnstructuredGridFilter array handling
When the Appender was used (Input was not an UnstructuredGrid) the input could either be a dataset or a CompositeDataset. That switch was not taking care and a NULL pointer could be wrongly accessed.
This patch make sure we pass the data from a valid DataObject.