patch 8.2.4308: Vim9: cannot list autoload function

Problem:    Vim9: cannot list autoload function.
Solution:   Don't give an error for using # when listing a function.
            (closes #9703)
diff --git a/src/userfunc.c b/src/userfunc.c
index 371cfd3..23131b7 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -4232,7 +4232,7 @@
 		name = prefixed;
 	    }
 	}
-	else if (vim9script && name != NULL
+	else if (paren && vim9script && name != NULL
 				    && vim_strchr(name, AUTOLOAD_CHAR) != NULL)
 	{
 	    emsg(_(e_cannot_use_name_with_hash_in_vim9_script_use_export_instead));