[PATCH v6 2/8] treewide: Comply with CERT C rule ERR33-C for snprintf()