[PATCH v7 bpf-next 01/10] lib/buildid: harden build ID parsing logic