The value of X is locked in as you divide the damage while putting Ravenous Gigantotherium's ability onto the stack. Changing Ravenous Gigantotherium's power after that time won't change how much damage is dealt.