Migrate Posix semaphore case for qm
Implement PosixSemaphore part in Jira ticket VROOM-18460
Test with rhivos image on ridesx4 board.
When set FFI_QM_SCENARIO to yes, case logs are: ffi_logs
When doesn't set FFI_QM_SCENARIO, case logs are: c9s_logs
Edited by Wei Wang