torture4: Use strlcpy() with size check instead of snprintf()