lib/cmsis_rtos_v1: Check for mutex owner in cmsis layer

Check for the mutex owner in the cmsis layer itself while releasing.
Fixes #9574.

Signed-off-by: Rajavardhan Gundi <rajavardhan.gundi@intel.com>
1 file changed