Joint modeling of survival and longitudinal data measured with error, with application to assessing immune correlates of protection in vaccine efficacy trials