Fixing inverted tets when subdividing a quadratic pyramid.

A quadratic pyramid is subdivided when contouring and clipping but the
4 tets produced were inverted (the 6 pyramids produced were fine).
Also initializing two pointers in vtkContourHelper to nullptr
for safety.

Addresses paraview/paraview#17574.