[cppmyth] jansson: Fix warnings

Use size_t where appropriate to prevent warning when compilation is targeting 64 bit