plaform: msm_shared: Replace strncpy with strlcpy

strncpy is deprecated because it can be exploited to cause buffer over
runs. Instead use strlcpy which gaurantees NULL terminated string and
thus avoiding buffer overruns.

Change-Id: I0ab785fdc2a1af2cddd5e986c67d779b1da26951
diff --git a/platform/msm_shared/rpm-glink.c b/platform/msm_shared/rpm-glink.c
index bc95db0..406f2ea 100644
--- a/platform/msm_shared/rpm-glink.c
+++ b/platform/msm_shared/rpm-glink.c
@@ -366,7 +366,7 @@
 	req.cmd = 0;
 	req.seqnumber = 0;
 	memset(req.name, 0, sizeof(req.name));
-	strncpy(req.name, "apss", 4);
+	strlcpy(req.name, "apss", sizeof(req.name));
 	req.namelength = strlen(req.name);
 	len_to_rpm = sizeof(rpm_ssr_req);
 	dprintf(INFO, "RPM GLINK UnInit\n");