Fixes error when choosing DIAGS, Expanded Vars, int math

FIXES:

sudo ./imx_gui 
imx_gui version 1.0
./imx_gui: line 11: [: Diags: integer expression expected