hal: Properly initialize pthread mutex

Use proper initialization flag for pthread
mutex. If not used the lock and unlock
will be called on what is believed to be
a destroyed mutex causing a segmentation
fault.

Change-Id: I86425dca40e3372d87d979e84f82af660e12dab2
CRs-Fixed: 2246632
1 file changed