Fix PR4882, by making MemCpyOpt not dereference removed stores to get the