patch 8.2.0627: Vim9: error message does not work

Problem:    Vim9: error message does not work. (Yegappan Lakshmanan)
Solution:   Swap lines.
diff --git a/src/userfunc.c b/src/userfunc.c
index fa729bb..6005af1 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -2614,8 +2614,8 @@
 	    }
 	    else
 	    {
-		ret_type = NULL;
 		semsg(_("E1056: expected a type: %s"), ret_type);
+		ret_type = NULL;
 	    }
 	}
     }