CTFE: run semantic on global variables

Only seems to happen with forward-referenced globals