Machine Learning-Driven Compensation for Non-Ideal Channels in AWG-Based FBG Interrogator