[PATCH 6.0 0207/1073] libbpf: Use elf_getshdrnum() instead of e_shnum