cb710: avoid NULL pointer subtraction