Fix QIO ctests after #746.

The QIO ctests do not pull in the definition of chpl_memcpy from chpl-mem.h, so an
alternate definition must be supplied when SIMPLETEST is true.

I changed renamed chpl_memcpy() calls to qio_memcpy() or deque_memcpy() as appropriate and
provided macro definitions for these functions.