[PATCH RFC 1/2] babel: Define helper macro for looping through TLVs