use portable fixed size integer
and remove macros I64() and U64(), which are incorrect (because long long
is not necessarly 64 bit as per the ISO C/C++ standard).