Replace vim_memcmp and vim_memmove