core: simplify mutex signatures
core: simplify mutex initializer
core: remove unneeded calls to mutex_init()