bpf: Fix a race condition between btf_put() and map_free()