Remove inheritance from std::iterator due to deprecation
Instead of inheriting from the deprecated std::iterator template, define the member typedefs needed for std::iterator_traits directly.
This removes the warning STL4015 when compiling VTK with C++ standard 17 and upwards.