Add -pprof flag to generated code

The generated go program can be passed a -pprof flag to indicate that it
should create a cpu.pprof file.