don't include db.h from gtid.h, fixes #193