rust-git: only symlink dynamic libraries

As it is, `libcompiler-rt.a` and `libmorestack.a` leak into `/usr/lib`. They don't need to be there.