Use `std::is_same` instead of `std::is_same_v` because the latter requires C++17.
Use `std::is_same` instead of `std::is_same_v` because the latter requires
C++17.

PiperOrigin-RevId: 363168417

google/riegeli,google/riegeli,google/riegeli,google/riegeli