Fix memmove and memcpy

memmove needs to allow for overlapping memory regions and, together
with memcpy, should return the input destination pointer, not the
address after the end of the copied data.

This fixes issue: https://github.com/ARM-software/tf-issues/issues/18

Signed-off-by: Jon Medhurst <tixy@linaro.org>