task: Remove memmove usage

This patch removes the use of memmove from task semaphore and queue
implementations and uses a circular buffer for storing the wait id's to improve
performance and reduce code size.

Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
Acked-by: Kazunori Asayama <asayama@sm.sony.co.jp>
7 files changed