Make horizontal mmx scaling code match C code.