BUGZILLA-1111383 Don't assume that 'kind' is a valid key

'kind' is not necessarily emitted during a declDef record creation,
so we should provide a default value of None to avoid crashing.

https://bugzilla.mozilla.org/show_bug.cgi?id=1111383
Yes, in this case, type is guaranteed to be from a 'type', and cannot be a decldef. Fixed.