Flag the dynamic_lib tests as ignored

The library isn't thread-safe, cc #9137
auto merge of #9138 : alexcrichton/rust/dynamic-lib-not-threadsafe, r=thestinger

The library isn't thread-safe, cc #9137