don't require the symbol referenced by cglobal to be a GlobalVariable. fixes #3557