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
1 file changed