Use uint{32,64}_t types after they are defined

It fixes Visual C++ build.