ir: Add Variable.isNotReference.
semantic: Set isNotReference for typeid literal vars.