get_value_string: Null terminate after the call to snprintf

It is impossible that the snprintf will fill the entire namebuf
but just follow the idiom to make sure it is null terminated.

Related: Coverity CID 1040676
diff --git a/src/utils.c b/src/utils.c
index c36979c..5874077 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -31,6 +31,7 @@
 	}
 
 	snprintf(namebuf, sizeof(namebuf), "unknown 0x%x", val);
+	namebuf[sizeof(namebuf) - 1] = '\0';
 	return namebuf;
 }