Update grnxx::Mutex.

Remove swap() and fix the initial value to MUTEX_UNLOCKED.
Remove File/MmapError and add SystemError.
Update grnxx::Thread.

Throw exceptions on failure, instead of returning false.