[PATCH openEuler-22.09 v2 090/391] bpf: Refactor BPF_PSEUDO_CALL checking as a helper function