[PATCH 5.8 277/464] tools/bpftool: Fix error handing in do_skeleton()