base: extract mutex.h from logging.cpp. am: 63bdcb57aa am: c55eba3a6e
am: d47fd598df

Change-Id: Ifc816225002def65b80c3109e2abd9db4cf8b2ce