net: fix bug in fdMutex
Fixes issue 6165.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/12984044