cmd/go: add any .c/.cc files to the SWIG shared library

Also add the action's object directory to the list of
directories we use to find SWIG shared libraries.

Fixes issue 6521.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/14369043