Combined limit on the production of a light gauge boson decaying into μ+μ− and π+π−