system-linux: fix strncpy bounds