Memoizing GetType() in orlyc

Memoizing GetType() in orlyc to reduce compile time significantly for large files: 
- for a large sample orly file, the intermediate code-gen time went from 81s to <1s