Make testb optimization work on big-endian targets.