generate_packets.py: include array dimensions in the field type
Part of #45206. Create a subclass of FieldType called ArrayType to handle array size information as part of the field type, instead of as a separate argument to the Field initializer.
Part of #45206. Create a subclass of FieldType called ArrayType to handle array size information as part of the field type, instead of as a separate argument to the Field initializer.