[PATCH openEuler-22.09 v3 239/391] bpf: Factor out bpf_spin_lock into helpers.