Revert "Optimize u64toa_countlut"

I just found that `reinterpret_cast<uint16_t*>(buffer)[0] = ...` may be unsafe on some platforms.
It may be an unaligned write.
Can you revise your implementation?