Explicitly cast an expression to bool before handing it off to __builtin_expect.