This matches the code used to create mem refs for scaled pairs.
We need this change to enable creation of more pairs: we used to return true
when checking for hasOrderedMemoryRef() in the check for alias analysis.
Patch by Sebastian Pop and Abderrazek Zaafrani.