Gamma rays following heavy-ion bombardment of light nuclei