[PATCH 6.1 587/772] bpftool: fix potential NULL pointer dereferencing in prog_dump()