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