goprotobuf: Replace an instance of sync.Mutex with a sync.RWMutex.

We can't change the sync.Mutex in properties.go
because it protects writes to the global stats var.

Fixes #21.

R=r
CC=golang-dev
http://codereview.appspot.com/5327059
1 file changed