FARRAGO: Fix generation of backwards-compatible calc code (fix due to John Pham).
FARRAGO: Fix generation of backwards-compatible calc code (fix due to John Pham).

[git-p4: depot-paths = "//open/dt/dev/": change = 7617]

LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb