Radiation spectrum from relativistic slim accretion discs: an effect of photon trapping