patch 8.2.4624: old Coverity warning for resource leak

Problem:    Old Coverity warning for resource leak.
Solution:   Close the file if memory allocation fails.
diff --git a/src/diff.c b/src/diff.c
index 4136d99..00ccdb6 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1662,7 +1662,11 @@
     {
 	hunk = ALLOC_ONE(diffhunk_T);
 	if (hunk == NULL)
+	{
+	    if (fd != NULL)
+		fclose(fd);
 	    return;
+	}
     }
 
     for (;;)
diff --git a/src/version.c b/src/version.c
index c7164f4..4a20c46 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4624,
+/**/
     4623,
 /**/
     4622,