simplify memcpy/memmove/memset intrinsics

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

This moves the per-architecture difference into the compiler.