simplify memcpy/memmove/memset intrinsics

This moves the per-architecture difference into the compiler.