[BUGFIX release] Throws an assertion if `classNameBindings` are specified on a tag-less view

Fixes #9418