feat(globaltocjs constants): do not flatten constant references in variable declarations