Track splhigh() depth so as to allow recursively turning off interrupts.