generate_packets.py: replace custom formatting in Variant.get_send()
Part of #44577. get_send() equivalent of #44597. Replace the <var>-based custom formatting in Variant.get_send() with a string join.
Part of #44577. get_send() equivalent of #44597. Replace the <var>-based custom formatting in Variant.get_send() with a string join.