Use dispatch_semaphore on __APPLE__ platforms

Contribution from István Csanády
Added MT GDC implementation.
Patched BRepMesh_FastDiscret and BRepMesh_IncrementalMesh to support Apple GCD Multthreading