csync_statedb: Fix wrong % code in debug output

%ld is for long, but int64_t is larger than long on windows