core:mutex: allow idle thread to use mutexes
Merge pull request #859 from Kijewski/mutex-trylock-error

core:mutex: allow idle thread to use mutexes