Remove duplicate gocode def.
Use newer style for finding gofmt.

Has the added benefit that it actually searches $PATH for gofmt, which
it didn't before.