tecs: fix wrong != 0 check

compare: https://github.com/diydrones/ardupilot/blob/master/libraries/AP_TECS/AP_TECS.cpp?source=cc#L383