Enhanced Stability of Immobilized Platinum Nanoparticles through Nitrogen Heteroatoms on Doped Carbon Supports