[PATCH] babel: Check TLV framing before dereferencing tlv->type