Use semaphore to synchronize with system manager about buffer access

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>