The key is that a photon is not a traditional particle. Rather it is a quantum object, which is part wave, and part particle. When a photon is being created, it is acting mostly like a wave, and waves have no problem going a certain speed from the moment they are created.