fixed setCurrentFrame
Merge pull request #9216 from Dhilan007/v3-debugfix

fix compiling error caused by enable CC_LABELBMFONT_DEBUG_DRAW/CC_LABELATLAS_DEBUG_DRAW
Merge pull request #9215 from 2youyouo2/v3_setCurrentFrame

fixed setCurrentFrame