Patches provided by Joel Baker in PR 22364, verified by myself.
changed most of the spl* to use _splraise to match current usage this fixes an observed bug where zstty_attach was calling splzs causing interrupts to be turned on prematurely.