generate_packets.py: move get_report() into PacketsDefinition
Part of #45166. Turn the get_report() function into a PacketsDefinition.code_delta_stats_report property.
Part of #45166. Turn the get_report() function into a PacketsDefinition.code_delta_stats_report property.