bpf, sockmap: fix race in sock_map_free()