perf lock contention: Rework offset calculation with BPF CO-RE