std: Add smoke test for internal dynamic loading on Windows. #8818
auto merge of #16776 : brson/rust/windyn, r=alexcrichton