Hard photons in heavy-ion collisions: Direct or statistical?