patch 9.0.0174: no error for using "#{ comment" in a compiled function

Problem:    No error for using "#{ comment" in a compiled function.
Solution:   Make error checking for "#{" consistent. (closes #10855)
diff --git a/src/vim9compile.c b/src/vim9compile.c
index c631636..98fc84c 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2899,7 +2899,9 @@
 
 	if (*ea.cmd == '#')
 	{
-	    // "#" starts a comment
+	    // "#" starts a comment, but "#{" is an error
+	    if (vim9_bad_comment(ea.cmd))
+		goto erret;
 	    line = (char_u *)"";
 	    continue;
 	}