parser: Use counted_by attribute if supported We only have a single struct with a flexible array member.