[PATCH 3.14 017/140] tick-common: Fix wrong check in tick_check_replacement()