Use gcc_jit_context_new_cast to fix int/bool type-mismatch errors