C++20 adds std::bit_cast. It completely covers the cases currently supported by our PrimitiveConversions::cast. Replace when we have C++20 support.