Disallow space before semicolon.

Related to #9849