Fixed an error in swap_traits for non-libc++ implementations.