task: Event flag try wait return bits

This fixes the task event flag implementation so that the current bits status is
properly returned when try_wait returns MARS_ERROR_BUSY.

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