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