libbpf: fix offsetof() and container_of() to work with CO-RE