net: fix leak of fd in bind() error path