TACL: Threshold-Adaptive Curriculum Learning Strategy for Enhancing Medical Text Understanding