Change new constants in txdb.h to int64_t

A shift overflow was happening when using these to check against in init.cpp.
Fixes #3702.