Enhancing Deployment-Time Predictive Model Robustness for Code Analysis and Optimization