patch 8.1.0248: duplicated quickfix code

Problem:    duplicated quickfix code.
Solution:   Move the code to a function.
diff --git a/src/version.c b/src/version.c
index 95a2e5b..cc1648f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    248,
+/**/
     247,
 /**/
     246,