Don't make the ktrace hook in tsleep() deref a null curproc after a panic.
Don't make the ktrace hook in tsleep() deref a null curproc after a panic.

PR:		15169
Submitted by:	David Gilbert <dgilbert@velocet.ca>

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase