[trivial] Fix warning in cast.c
fix Issue 13088 - Compiler segfaults with trivial case code
fix Issue 13087 - Error: no property 'xyz' for type 'Vec!4'
Merge pull request #3736 from 9rnsr/fix13087

[REG2.066a] Issue 13087 - Error: no property 'xyz' for type 'Vec!4'