simplify memcpy/memmove/memset intrinsics

This moves the per-architecture difference into the compiler.
auto merge of #10251 : thestinger/rust/ptr, r=alexcrichton

This moves the per-architecture difference into the compiler.