patch 8.1.1824: crash when correctly spelled word is very long

Problem:    Crash when correctly spelled word is very long. (Ben Kraft)
Solution:   Check word length before copying. (closes #4778)
diff --git a/src/spell.c b/src/spell.c
index dda81d9..83c232c 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -2073,6 +2073,8 @@
 
     if (len == -1)
 	p = word;
+    else if (len >= MAXWLEN)
+	return;
     else
     {
 	vim_strncpy(buf, word, len);