be conservative about kernel_info implementation

in case kernels don't comply with the message spec by leaving out the language key.

as recommended in [this comment](https://github.com/ipython/ipython/pull/4787/files#r8846785).