generate_packets.py: separate class for float types
Part of #45206. Extract a subclass of FieldType called FloatType that handles everything relating to float_factor.
Part of #45206. Extract a subclass of FieldType called FloatType that handles everything relating to float_factor.