cocoa: unlock on uninit

NSLock should be unlocked before dealloc is called on it.