Fix mutex/condvar references.

CoreStorage's implementation is not compatible, and it doesn't export these
symbols in any case.  Rename the mutex/condvar functions to spl_*.