Fix some frame constants, set kNumRequiredStackFrameSlots to 24