BUG: Fix memory leaks related to itk::SpatialObject::GetChildren()

Change-Id: If61cfef5c35fb80c902a33cf68f099a302bc440e