Linuxbrew: Use safe_system for patchelf

Use patchelf in opt_bin rather than bin to support using patchelf HEAD
Linuxbrew: Only change the loader of executables

Do not change the dynamic loader of shared libraries.