net: caif: Use scnprintf() for avoiding potential buffer overflow