Bremsstrahlung photons from stopping in heavy-ion collisions