Fix replaceLocation to be more robust.

For some reason running the tests under the cover tool was causing the *entire* source path, not just the bit from `$GOPATH/src` to appear.

As there really isn't any guarantee what will be returned from runtime.Callers (you should see gccgo), make the test a bit more liberal in what we accept.