runtime: fix mingw build, implement missing destroylock()

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/747041
1 file changed