cmd/go: only try to clean executables for package main

Fixes issue 5665.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/12807044