core: simplify mutex signatures
core: simplify mutex initializer
core: remove unneeded calls to mutex_init()
Merge pull request #1440 from Kijewski/issue-1436

core: simplify mutex signatures