[server] Fix incorrect updating of BIGUINT values

Because an inappropriate format specifier "PRId64" is used for uint64_t, a value which is bigger
than max int64 becomes zero on updating it on MySQL.

Although it's a small bug, we have to fix many codes since it's a static function and used from
some other static functions in DBAgentSQLite3.