Fix call to swap function due to upstream changes

Rust moved this function from std::util (which has been dissolved now) to std::mem.