Thermal Risk Analysis Based on Reaction Mechanism: Application to the 2,6-Diaminopyrazine-1-oxide Synthesis Process