Adjusting for time-varying confounding in the subdistribution analysis of a competing risk