Threshold of a Photonic Random Laser with Cold Atoms