Fixed bug #15829: ExtDirect wrong XCLASS registration code (Thanks to Stefan Galinski)