cmd/go: skip $ORIGIN test on darwin systems
Fixes issue 7293.
Update issue 7261
The bsd ld(1) does not understand $ORIGIN and has restrictions on using -rpath when using clang(1), the default compiler on darwin.