[PATCH 6.12 095/218] libbpf: Fix null pointer dereference in btf_dump__free on allocation failure