[PATCH openEuler-1.0-LTS] bpf: Simplify sanitize_err() signature