thermal: fix off-by-1 error in trip point trigger condition