cod2: Fix latent instruction reorder bug in cdmemcmp

Triggered on Linux by test81 in interpret.d with the
array comparison optimization patch.
Optimize simple array comparison (Issue 9477)