Fixed generated code to match GBMModel score function.

The fix is related to fix of HEX-1481 which is fixing numeric
instability in GBM score function.