Revert "mutex::unlock(): removed the asserts"

This reverts commit fef7e6b897ca7c818bf81d90d10dffc1c72a8edd.

It was needed because of a bug in uperf