patch 8.2.2986: build failure without the profile feature

Problem:    Build failure without the profile feature.
Solution:   Add #ifdef.
diff --git a/src/version.c b/src/version.c
index ad399ce..52e4a46 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2986,
+/**/
     2985,
 /**/
     2984,