Threshold value estimation in the presence of covariate measurement error