Fix NBT parse crash when list has type TAG_End