Operating profit at Mazda bounced back as sales recovered from the pandemic slump and the company curbed marketing costs.