[PATCH openEuler-22.03-LTS-SP1 292/371] bpftool: Clear errno after libcap's checks