[PATCH 6.15 140/263] libbpf: Fix null pointer dereference in btf_dump__free on allocation failure