chat_init(): Fix problematic ptrdiff_t format string handling