Fixed KT-4437 Converter for java: do not generate assert with lambda for constant message

 #KT-4437 Fixed