Implement IsCompareBranch() for RetargetNearBranch().