generate_packets.py: check for errors when sending arrays
Part of #43927. Quasi-follow-up to #44801. In that patch, array-diff was made to check for errors returned by dio_put_*(). Expand this to all other array put code.
New patch: Removed a comment. (The FIXME comment about exactly what this patch is doing.)
Part of #43927. Quasi-follow-up to #44801. In that patch, array-diff was made to check for errors returned by dio_put_*(). Expand this to all other array put code.