[CIR] Fix global-refs test that got committed in github 'race' (#183068)
Despite my best efforts, this crossed in the air with the attributes on
arguments patch, and thus had a problem with the test. This patch
updates the test to be tolerant of the attributes.