Fix compile warnings reading type-0 TLVs