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