Fix misnamed variables in ALTER_SPELL_EFFECT.