compiler: Provide location for initialization function.

R=iant
CC=gofrontend-dev
https://codereview.appspot.com/7147043