Merge 'Port hardware locks to new mutex API'
Move hw-locks to new mutex API in multiple steps to keep diffs readable. The users of hw-locks are **not** ported to the new-semantics; this needs to be done as a follow up. One patch is included, porting the MAX30001 driver in commit 6da4644e ("chore(max30001): Port to new mutex and hw-lock APIs"). See merge request card10/firmware!356