Fix defect MAGN-84

To fix the issue that when expression used in range expression, N2C cannot generate correct code for range expression.

The pull request for updating binaries in Dyanmo: https://github.com/ikeough/Dynamo/pull/818