kqueue: fix incorrect mutex used in Close()

identified at https://code.google.com/p/go/issues/detail?id=8282#c5