vmem: fix possible attempt to unlock a mutex that is not locked
Merge pull request #58 from krzycz/vmem-ctl_mtx_unlock

vmem: fix possible attempt to unlock a mutex that is not locked