Depend on libnative when testing

The stdtest binary uses both libnative and libgreen to test the two
implementations

Closes #11843
auto merge of #11847 : alexcrichton/rust/fix-test-deps, r=pcwalton

The stdtest binary uses both libnative and libgreen to test the two
implementations

Closes #11843