[BUGFIX] Rendering classes for InputElement results in broken HTML

In this patch a missing logDeprecatedFunction is also added.

Resolves: #62066
Releases: master
Change-Id: I0432b7e10e705b2c08c464eb43cfd1ae03f73a9b
Reviewed-on: http://review.typo3.org/33178
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>