runtime: fix new scheduler on freebsd, windows

R=devon.odell
CC=golang-dev
https://codereview.appspot.com/7443046