core: simplify mutex signatures

Fixes #1436
`s/struct \(mutex_t\)/\1/g`

Here (and below and above) too, please ;-)