[PATCH openEuler-22.09 093/379] bpf: Refactor BPF_PSEUDO_CALL checking as a helper function