Nonparametric Adjustment for Measurement Error in Time-to-Event Data: Application to Risk Prediction Models