Mass dependence of high-energy gamma-ray production in heavy-ion reactions.