fix wrong return value from wmemmove on forward copies