ValueConstIterator and ValueIterator lacked the value_type typedef
required for std::iterator_traits deduction in C++20. GCC 13's STL
correctly diagnoses this when the iterators are used with algorithms
like std::all_of.
Fixes build on GCC 13 without requiring GCC 15.