Comments on ultra-high-energy photons and D-foam models