effective_go.html: fix semaphore example
It didn't work properly according to the Go memory model.
Fixes issue 5023.

R=golang-dev, dvyukov, adg
CC=golang-dev
https://codereview.appspot.com/7698045