Text this: Durability Optimization of Fiber Grating Hydrogen Sensor Based on Residual Stress