fix wrong return value from wmemmove on forward copies
replace stub with working strcasestr