[PATCH 3.12 027/103] tick-common: Fix wrong check in tick_check_replacement()