trim ld.so code for unsupported architectures

ok natano@ patrick@
Merge branch 'master' of https://github.com/bitrig/bitrig
Merge branch 'master' into andre_upd