[PATCH openEuler-5.10 41/48] bpf: Generally fix helper register offset check