Static abilities, such as that of Glorious Anthem, modify Ravenous Gigantotherium's power before its triggered ability is put onto the stack. Spells, activated abilities, and triggered abilities can't raise its power in time to change the value of X.