Mazda Motor is to recall about 88,000 vehicles globally to fix a programming glitch in its engine control computer.