Call to byte_swap_vector should use dst, not d1, because this is
modified by the call to the strided memcpy and will end up pointing
after the end of the destination buffer in that case.
Merge pull request #3455 from Hoops/copy_and_swap_stride_dst

Possible memory overwrite in copy_and_swap