bpf: Iterate through all PT_NOTE sections when looking for build id