Don't inline callback function for `if`.

To prevent crazy code size growing for Java/C# targets.