Use getJump{Pass,Drop}Label for counter range checks

This commit refactors the code to use the getJump{Pass,Drop}Label
methods for counter range checks. This change reduces code duplication
by centralizing the logic for handling these checks.

Test: TH
Change-Id: If254711ab9691d6dd299dc73b6877624323b2db5
1 file changed