compiler: don't export any functions with special names

This keeps init functions from appearing in the export data.  Checking
for special names in general means that we don't need to check
specifically for nested functions or thunks, which have special names.

Change-Id: I70dc56e678f0c1ae48fb8e095e82231efa5d7355
Reviewed-on: https://go-review.googlesource.com/c/143237
Reviewed-by: Than McIntosh <thanm@google.com>
1 file changed