Japanese carmakers are recalling over three million cars globally over a defect in passenger airbags.