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