fix Issue 9418 - Segmentation fault using only datetime and stdio.

At least glue layer should reject invalid array-operation, as same as NegExp, BinExp, PowAssignExp, and PowExp.
fix Issue 9458 - ModExp generates invalid code against array operands
fix project files
fix format strings
fix typo in stricmp in port.c
Merge pull request #1629 from rainers/fix_vsbuild

fix build with Visual Studio
Merge pull request #1628 from 9rnsr/fix9418

Issue 9418 + 9458 - Invalid array operation should be rejected in glue layer