misc/cgo/test: fix build (define prototype for alloca)

TBR=golang-dev
CC=golang-dev
https://codereview.appspot.com/14454063