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