Replace usage of strlcpy with strncpy.