hooks: Use SHM between hybris instances for pshared mutex and condition

When some android code uses a process-shared mutex and/or condition, hybris should also use process-shared mutex/condition. To do so, we have to use a shared memory segment to store the corresponding glibc mutex/conditions.

Current limitations:
 - There is a maximum number (1000) of mutex and conditions that can be allocated
 - The shared memory segment is located at a pre-determined address (0x50000000), to be able to identify which mutexes are located in a shared memory region.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Merge pull request #1 from Tofee/master

to test with nexus7