runtime: for Solaris, add osinit, and drop duplicate getncpu

Fixes a build breakage introduced in the 1.14beta1 upgrade.

Change-Id: I6e416645ca78d35a58a8abdd178ab5f72af3b3d6
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/215857
Reviewed-by: Cherry Zhang <cherryyz@google.com>
1 file changed