sem-scalebench: Preparation for additional operation

Code refactoring, switch to function pointers

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
sem-scalebench: Add posix semaphores as reference

The patch adds posix semaphores as a benchmark reference

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>