A generalized Chao estimator with measurement error and external information